Merge branch 'krille/clearlogs' into 'main'
fix: Clear logs on clear() See merge request famedly/famedlysdk!583
This commit is contained in:
commit
e2f2c124d2
|
|
@ -807,6 +807,7 @@ class Client extends MatrixApi {
|
|||
|
||||
/// Resets all settings and stops the synchronisation.
|
||||
void clear() {
|
||||
Logs().outputEvents.clear();
|
||||
database?.clear(id);
|
||||
_id = accessToken =
|
||||
homeserver = _userID = _deviceID = _deviceName = prevBatch = null;
|
||||
|
|
|
|||
Loading…
Reference in New Issue