ios: show open direct chat button for direct contacts (#1518)

This commit is contained in:
JRoberts
2022-12-07 17:30:15 +04:00
committed by GitHub
parent 05fdd07409
commit fda8836ab8
4 changed files with 35 additions and 26 deletions
+1 -1
View File
@@ -101,7 +101,7 @@ final class ChatModel: ObservableObject {
}
func updateContact(_ contact: Contact) {
updateChat(.direct(contact: contact), addMissing: !contact.isIndirectContact && !contact.viaGroupLink)
updateChat(.direct(contact: contact), addMissing: contact.directContact)
}
func updateGroup(_ groupInfo: GroupInfo) {