fix not emitting EVENT_USER_UPDATED_INFO on recieved MyINFO (!)
This commit is contained in:
parent
a403dac461
commit
553ec20850
@ -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})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user