diff --git a/Monal/another.im/XMPP/MonalXmppWrapper.swift b/Monal/another.im/XMPP/MonalXmppWrapper.swift index 11c7948..133d511 100644 --- a/Monal/another.im/XMPP/MonalXmppWrapper.swift +++ b/Monal/another.im/XMPP/MonalXmppWrapper.swift @@ -151,9 +151,6 @@ private extension MonalXmppWrapper { self?.refreshChats() } notificationObservers.append(contentsOf: [contactRefresh, contactRemove]) - - // For chats - // ??? } func refreshAccounts() { @@ -289,9 +286,7 @@ private extension MonalChatWrapper { return Message(message) } .sorted { $0.timestamp > $1.timestamp } - DispatchQueue.main.async { [weak self] in - self?.messages = messages - } + self.messages = messages } func toggleOmemo(_ new: Bool) {