wip
This commit is contained in:
parent
340bb5a1b4
commit
c5750f9825
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue