fix: Properly clear in-memory outbound sessions when clearing cache
This commit is contained in:
parent
ed8af418f0
commit
f6589f9596
|
|
@ -1746,6 +1746,7 @@ sort order of ${prevState.sortOrder}. This should never happen...''');
|
|||
prevBatch = null;
|
||||
rooms.clear();
|
||||
await database?.clearCache(id);
|
||||
encryption?.keyManager?.clearOutboundGroupSessions();
|
||||
onCacheCleared.add(true);
|
||||
// Restart the syncloop
|
||||
backgroundSync = true;
|
||||
|
|
|
|||
Loading…
Reference in New Issue