mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-08-14 07:10:19 +00:00
core, ui: prohibit changing profile for prepared entity when first attempt to connect failed (#6037)
* core: prohibit changing profile for prepared entity when first attempt to connect failed * reuse incognito * schema * ios * postgres schema * ios * reenable tests * kotlin * update alert * rename predicate, combine queries * send the correct incognito mode, fail on attempt to change mode for prepared connection * query plans * ui: show group connecting status --------- Co-authored-by: Evgeny Poberezkin <evgeny@poberezkin.com>
This commit is contained in:
co-authored by
Evgeny Poberezkin
parent
e5d3029edf
commit
2dd54c6697
@@ -2208,6 +2208,12 @@ func processReceivedMsg(_ res: ChatEvent) async {
|
||||
n.networkStatuses = ns
|
||||
}
|
||||
}
|
||||
case let .chatInfoUpdated(user, chatInfo):
|
||||
if active(user) {
|
||||
await MainActor.run {
|
||||
m.updateChatInfo(chatInfo)
|
||||
}
|
||||
}
|
||||
case let .newChatItems(user, chatItems):
|
||||
for chatItem in chatItems {
|
||||
let cInfo = chatItem.chatInfo
|
||||
|
||||
Reference in New Issue
Block a user