Open-source and local-first Slack and Notion alternative that puts you in control of your data
TypeScript chatchat-applicationcrdteditorelectronknowledge-baselocal-firstnotionnotion-alternativerealtime-collaborationself-hostedslacksqliteteam-collaborationwikiyjs
Remove socket connection on logout
Hakan Shehu4c217892466d
diff --git a/apps/desktop/src/main/services/account-service.ts b/apps/desktop/src/main/services/account-service.tsindex 0a31426d..aebe4682 100644--- a/apps/desktop/src/main/services/account-service.ts+++ b/apps/desktop/src/main/services/account-service.ts@@ -66,7 +66,6 @@ class AccountService {if (status >= 400 && status < 500) {this.debug(`Account ${account.email} is not valid, logging out...`);await this.logoutAccount(account);- socketService.removeConnection(account.id);return;}@@ -234,6 +233,8 @@ class AccountService {}).execute();+ socketService.removeConnection(account.id);+return true;}