fix(@desktop/chat): Do not change screen when showing profile window

Fix #8789
This commit is contained in:
Michal Iskierko 2022-12-16 17:37:44 +01:00 committed by r4bbit
parent ae4d59de9a
commit 0242f943f2
1 changed files with 0 additions and 2 deletions

View File

@ -824,8 +824,6 @@ method resolvedENS*[T](self: Module[T], publicKey: string, address: string, uuid
return return
if(reason == STATUS_URL_ENS_RESOLVE_REASON & $StatusUrlAction.DisplayUserProfile): if(reason == STATUS_URL_ENS_RESOLVE_REASON & $StatusUrlAction.DisplayUserProfile):
let item = self.view.model().getItemById(singletonInstance.userProfile.getPubKey())
self.setActiveSection(item)
self.view.emitDisplayUserProfileSignal(publicKey) self.view.emitDisplayUserProfileSignal(publicKey)
else: else:
self.view.emitResolvedENSSignal(publicKey, address, uuid) self.view.emitResolvedENSSignal(publicKey, address, uuid)