mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-26 11:30:50 +02:00
AppCoordinator: Handle user session removal on clear cache.
This commit is contained in:
@@ -139,6 +139,8 @@ extension AppCoordinator: LegacyAppDelegateDelegate {
|
||||
}
|
||||
|
||||
func legacyAppDelegate(_ legacyAppDelegate: LegacyAppDelegate!, didRemoveMatrixSession session: MXSession!) {
|
||||
// Handle user session removal on clear cache. On clear cache the account has his session closed but the account is not removed.
|
||||
self.userSessionsService.removeUserSession(relatedToMatrixSession: session)
|
||||
}
|
||||
|
||||
func legacyAppDelegate(_ legacyAppDelegate: LegacyAppDelegate!, didAdd account: MXKAccount!) {
|
||||
|
||||
Reference in New Issue
Block a user