mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-04-26 19:35:48 +00:00
desktop: do not switch remote host when inactive host is disconnected (#3426)
This commit is contained in:
committed by
GitHub
parent
69acac5331
commit
9442121efa
+1
-1
@@ -1851,7 +1851,7 @@ object ChatController {
|
||||
generalGetString(MR.strings.remote_host_was_disconnected_toast).format(disconnectedHost.hostDeviceName.ifEmpty { disconnectedHost.remoteHostId.toString() })
|
||||
)
|
||||
}
|
||||
if (chatModel.currentRemoteHost.value != null) {
|
||||
if (chatModel.remoteHostId == r.remoteHostId_) {
|
||||
chatModel.currentRemoteHost.value = null
|
||||
switchUIRemoteHost(null)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user