Skip to content
This repository was archived by the owner on Jun 9, 2025. It is now read-only.

Commit c35ab5b

Browse files
odduiJacob Wenger
authored andcommitted
Update _userName on update user (#49)
1 parent 3620081 commit c35ab5b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/js/firechat.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,7 @@
181181
// Event to monitor current user state.
182182
_onUpdateUser: function(snapshot) {
183183
this._user = snapshot.val();
184+
this._userName = this._user.name;
184185
this._invokeEventCallbacks('user-update', this._user);
185186
},
186187

0 commit comments

Comments
 (0)