addUserToOnlineList: function(userID, userName, userRole) {
this.usersList.push(userID);
this.userNamesList.push(userName);
if(this.dom['onlineList']) {
this.updateDOM(
'onlineList',
this.getUserNodeString(userID, userName, userRole),
(this.userID === userID)
);
}
},
Looks like a conditional test but what is it doing there?