ios: update the list of chats when exiting background (#764)
This commit is contained in:
committed by
GitHub
parent
96866c7a5d
commit
1e63eb3752
@@ -62,6 +62,11 @@ struct SimpleXApp: App {
|
||||
activateChat()
|
||||
if chatModel.chatRunning == true {
|
||||
ChatReceiver.shared.start()
|
||||
do {
|
||||
chatModel.chats = try apiGetChats()
|
||||
} catch let error {
|
||||
logger.error("apiGetChats: cannot update chats \(responseError(error))")
|
||||
}
|
||||
}
|
||||
doAuthenticate = authenticationExpired()
|
||||
default:
|
||||
|
||||
Reference in New Issue
Block a user