diff --git a/ConversationsClassic/AppData/Client/Client.swift b/ConversationsClassic/AppData/Client/Client.swift index bb30a14..2856562 100644 --- a/ConversationsClassic/AppData/Client/Client.swift +++ b/ConversationsClassic/AppData/Client/Client.swift @@ -80,6 +80,9 @@ extension Client { credentials.isActive = isActive Task { try? await credentials.setActive(flag: isActive) + if isActive { + self.state = .enabled(.disconnected) + } } }