Merge branch 'td/leavedIgnore' into 'main'

chore: ignore stale call checking for archived rooms

See merge request famedly/company/frontend/famedlysdk!1255
This commit is contained in:
Krille 2023-03-29 14:12:03 +00:00
commit c0000c0193
2 changed files with 4 additions and 2 deletions

View File

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

View File

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