aslo clear ssss cache when clearing a user id
This commit is contained in:
parent
51584ad748
commit
1fdd0a7db8
|
@ -455,6 +455,7 @@ class Database extends _$Database {
|
||||||
await (delete(inboundGroupSessions)
|
await (delete(inboundGroupSessions)
|
||||||
..where((r) => r.clientId.equals(clientId)))
|
..where((r) => r.clientId.equals(clientId)))
|
||||||
.go();
|
.go();
|
||||||
|
await (delete(ssssCache)..where((r) => r.clientId.equals(clientId))).go();
|
||||||
await (delete(olmSessions)..where((r) => r.clientId.equals(clientId))).go();
|
await (delete(olmSessions)..where((r) => r.clientId.equals(clientId))).go();
|
||||||
await (delete(userCrossSigningKeys)
|
await (delete(userCrossSigningKeys)
|
||||||
..where((r) => r.clientId.equals(clientId)))
|
..where((r) => r.clientId.equals(clientId)))
|
||||||
|
|
Loading…
Reference in a new issue