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
1 changed files with 2 additions and 0 deletions

View File

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