fix(chat): Open chat when contact request was accepted

Closes: #6127
This commit is contained in:
Boris Melnik 2022-06-24 14:51:07 +03:00 committed by Iuri Matias
parent 70383a51bd
commit 35eee24ab4
1 changed files with 1 additions and 0 deletions

View File

@ -599,6 +599,7 @@ method acceptContactRequest*(self: Module, publicKey: string) =
method onContactAccepted*(self: Module, publicKey: string) = method onContactAccepted*(self: Module, publicKey: string) =
self.view.contactRequestsModel().removeItemById(publicKey) self.view.contactRequestsModel().removeItemById(publicKey)
self.switchToOrCreateOneToOneChat(publicKey)
self.updateParentBadgeNotifications() self.updateParentBadgeNotifications()
method acceptAllContactRequests*(self: Module) = method acceptAllContactRequests*(self: Module) =