Merge branch 'soru/clear-in-memory-outbound-cache-properly' into 'main'
fix: Properly clear in-memory outbound sessions when clearing cache See merge request famedly/famedlysdk!597
This commit is contained in:
commit
192c406cdf
|
|
@ -1746,6 +1746,7 @@ sort order of ${prevState.sortOrder}. This should never happen...''');
|
||||||
prevBatch = null;
|
prevBatch = null;
|
||||||
rooms.clear();
|
rooms.clear();
|
||||||
await database?.clearCache(id);
|
await database?.clearCache(id);
|
||||||
|
encryption?.keyManager?.clearOutboundGroupSessions();
|
||||||
onCacheCleared.add(true);
|
onCacheCleared.add(true);
|
||||||
// Restart the syncloop
|
// Restart the syncloop
|
||||||
backgroundSync = true;
|
backgroundSync = true;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue