fix not emitting EVENT_USER_UPDATED_INFO on recieved MyINFO (!)

This commit is contained in:
mappu 2017-02-08 18:58:14 +13:00
parent a403dac461
commit 553ec20850

View File

@ -85,6 +85,8 @@ func (this *HubConnection) userJoined_Full(uinf *UserInfo) {
if !userExisted { if !userExisted {
this.processEvent(HubEvent{EventType: EVENT_USER_JOINED, Nick: uinf.Nick}) this.processEvent(HubEvent{EventType: EVENT_USER_JOINED, Nick: uinf.Nick})
} else {
this.processEvent(HubEvent{EventType: EVENT_USER_UPDATED_INFO, Nick: uinf.Nick})
} }
} }