From e6fe7c538c4e443b9254d305b121e2e010cc11a8 Mon Sep 17 00:00:00 2001 From: fmodf Date: Mon, 21 Oct 2024 18:09:21 +0200 Subject: [PATCH] wip --- ConversationsClassic/AppData/Client/Client.swift | 3 +++ 1 file changed, 3 insertions(+) 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) + } } }