Skip to content

Commit

Permalink
Update _userName on update user (#49)
Browse files Browse the repository at this point in the history
  • Loading branch information
oddui authored and Jacob Wenger committed Aug 30, 2016
1 parent 3620081 commit c35ab5b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/js/firechat.js
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,7 @@
// Event to monitor current user state.
_onUpdateUser: function(snapshot) {
this._user = snapshot.val();
this._userName = this._user.name;
this._invokeEventCallbacks('user-update', this._user);
},

Expand Down

0 comments on commit c35ab5b

Please sign in to comment.