From 1fdd0a7db870743606413ba9bc475676ebc7d457 Mon Sep 17 00:00:00 2001 From: Sorunome Date: Sat, 6 Jun 2020 15:48:57 +0200 Subject: [PATCH] aslo clear ssss cache when clearing a user id --- lib/src/database/database.dart | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/src/database/database.dart b/lib/src/database/database.dart index 77f7c57..0d4ec7e 100644 --- a/lib/src/database/database.dart +++ b/lib/src/database/database.dart @@ -455,6 +455,7 @@ class Database extends _$Database { await (delete(inboundGroupSessions) ..where((r) => r.clientId.equals(clientId))) .go(); + await (delete(ssssCache)..where((r) => r.clientId.equals(clientId))).go(); await (delete(olmSessions)..where((r) => r.clientId.equals(clientId))).go(); await (delete(userCrossSigningKeys) ..where((r) => r.clientId.equals(clientId)))