mirror of
https://github.com/status-im/status-desktop.git
synced 2025-01-25 14:00:00 +00:00
fix(admin): fix nicknames not showing in the admin tab immediately (#16959)
Fixes #16957 We didn't listen to the event in the main module.
This commit is contained in:
parent
eaaced6f30
commit
5220fc650d
@ -521,6 +521,10 @@ proc init*(self: Controller) =
|
|||||||
let args = ContactArgs(e)
|
let args = ContactArgs(e)
|
||||||
self.delegate.contactUpdated(args.contactId)
|
self.delegate.contactUpdated(args.contactId)
|
||||||
|
|
||||||
|
self.events.on(SIGNAL_CONTACT_NICKNAME_CHANGED) do(e: Args):
|
||||||
|
var args = ContactArgs(e)
|
||||||
|
self.delegate.contactUpdated(args.contactId)
|
||||||
|
|
||||||
self.events.on(SIGNAL_LOGGEDIN_USER_NAME_CHANGED) do(e: Args):
|
self.events.on(SIGNAL_LOGGEDIN_USER_NAME_CHANGED) do(e: Args):
|
||||||
self.delegate.contactUpdated(singletonInstance.userProfile.getPubKey())
|
self.delegate.contactUpdated(singletonInstance.userProfile.getPubKey())
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user