chore: ignore stale call checking for archived rooms

This commit is contained in:
td 2023-03-29 19:04:10 +05:30
parent 6510c9728c
commit d8d111b1b4
No known key found for this signature in database
GPG Key ID: F6D9E9BF14C7D103
2 changed files with 4 additions and 2 deletions

View File

@ -142,7 +142,9 @@ class Room {
setState(state);
}
}
if (!isArchived) {
startStaleCallsChecker(id);
}
partial = false;
}

View File

@ -50,7 +50,7 @@ extension GroupCallUtils on Room {
staleGroupCallsTimer.remove(roomId);
Logs().d('stopped stale group calls checker for room $id');
} else {
Logs().w('[VOIP] no stale call checker for room found');
Logs().d('[VOIP] no stale call checker for room found');
}
}