Initializes display name with initial value and does not depend on initial on display name changed event.
This commit is contained in:
parent
26443b6d72
commit
0e4f4cbd74
|
@ -537,6 +537,10 @@ UI.addUser = function (id, displayName) {
|
|||
|
||||
// Configure avatar
|
||||
UI.setUserAvatar(id);
|
||||
|
||||
// set initial display name
|
||||
if(displayName)
|
||||
UI.changeDisplayName(id, displayName);
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue