Initializes display name with initial value and does not depend on initial on display name changed event.

This commit is contained in:
damencho 2016-04-09 22:08:06 -05:00
parent 26443b6d72
commit 0e4f4cbd74
1 changed files with 4 additions and 0 deletions

View File

@ -537,6 +537,10 @@ UI.addUser = function (id, displayName) {
// Configure avatar
UI.setUserAvatar(id);
// set initial display name
if(displayName)
UI.changeDisplayName(id, displayName);
};
/**