highLevel syncs across chans, shows in userlist
This commit is contained in:
parent
279640a7e7
commit
8ccb9003cc
8 changed files with 102 additions and 38 deletions
|
|
@ -39,7 +39,7 @@ module.exports = class{
|
|||
userObj.sockets.push(socket.id);
|
||||
}else{
|
||||
await userDB.populate('flair');
|
||||
userObj = new connectedUser(userDB.user, userDB.id, userDB.rank, chanRank, userDB.flair.name, this, socket);
|
||||
userObj = new connectedUser(userDB, chanRank, this, socket);
|
||||
}
|
||||
|
||||
//Set user entry in userlist
|
||||
|
|
@ -84,7 +84,8 @@ module.exports = class{
|
|||
this.userList.forEach((userObj, user) => {
|
||||
userList.push({
|
||||
user: user,
|
||||
flair: userObj.flair
|
||||
flair: userObj.flair,
|
||||
highLevel: userObj.highLevel
|
||||
});
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue