Don't delete sessions for now

This commit is contained in:
Paul Frazee
2023-01-24 16:59:21 -06:00
parent 5ef137b411
commit d0ebc2c7d1
+2 -2
View File
@@ -361,14 +361,14 @@ export class SessionModel {
* Close all sessions across all accounts.
*/
async logout() {
if (this.hasSession) {
/*if (this.hasSession) {
this.rootStore.api.com.atproto.session.delete().catch((e: any) => {
this.rootStore.log.warn(
'(Minor issue) Failed to delete session on the server',
e,
)
})
}
}*/
this.clearSessionTokensFromAccounts()
this.rootStore.clearAll()
}