mirror of
https://github.com/status-im/status-desktop.git
synced 2025-01-20 11:29:20 +00:00
fix(admin): fix nicknames not showing in the admin tab immediately (#16969)
Fixes #16957 We didn't listen to the event in the main module.
This commit is contained in:
parent
37251afe60
commit
d4e2d4dc50
@ -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