ios: fix UI freezes on start and when exiting background (#3972)

* ios: fix UI freezes on start and when exiting background

* remove unused code

* comments
This commit is contained in:
Evgeny Poberezkin
2024-03-29 22:58:36 +00:00
committed by GitHub
parent 1410b4bd85
commit 9b6ca23dcb
3 changed files with 22 additions and 53 deletions
@@ -1753,6 +1753,8 @@ object ChatController {
chatModel.removeChat(rhId, r.mergedContact.id)
}
}
// ContactsSubscribed, ContactsDisconnected and ContactSubSummary are only used in CLI,
// They have to be used here for remote desktop to process these status updates.
is CR.ContactsSubscribed -> updateContactsStatus(r.contactRefs, NetworkStatus.Connected())
is CR.ContactsDisconnected -> updateContactsStatus(r.contactRefs, NetworkStatus.Disconnected())
is CR.ContactSubSummary -> {