wip
This commit is contained in:
parent
340bb5a1b4
commit
c5750f9825
|
@ -151,9 +151,6 @@ private extension MonalXmppWrapper {
|
||||||
self?.refreshChats()
|
self?.refreshChats()
|
||||||
}
|
}
|
||||||
notificationObservers.append(contentsOf: [contactRefresh, contactRemove])
|
notificationObservers.append(contentsOf: [contactRefresh, contactRemove])
|
||||||
|
|
||||||
// For chats
|
|
||||||
// ???
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func refreshAccounts() {
|
func refreshAccounts() {
|
||||||
|
@ -289,9 +286,7 @@ private extension MonalChatWrapper {
|
||||||
return Message(message)
|
return Message(message)
|
||||||
}
|
}
|
||||||
.sorted { $0.timestamp > $1.timestamp }
|
.sorted { $0.timestamp > $1.timestamp }
|
||||||
DispatchQueue.main.async { [weak self] in
|
self.messages = messages
|
||||||
self?.messages = messages
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func toggleOmemo(_ new: Bool) {
|
func toggleOmemo(_ new: Bool) {
|
||||||
|
|
Loading…
Reference in a new issue