Merge branch 'krille/encryption-background' into 'main'
fix: Dont run background task after logged out See merge request famedly/famedlysdk!604
This commit is contained in:
commit
6be4ff0b24
|
|
@ -362,7 +362,7 @@ class Encryption {
|
|||
// this method is responsible for all background tasks, such as uploading online key backups
|
||||
bool _backgroundTasksRunning = true;
|
||||
void _backgroundTasks() {
|
||||
if (!_backgroundTasksRunning) {
|
||||
if (!_backgroundTasksRunning || !client.isLogged()) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue