this looks like a good idea

This commit is contained in:
BopItFreak 2019-06-14 14:09:33 -04:00
parent feef2ec0ed
commit 58291fb3a7
1 changed files with 1 additions and 1 deletions

View File

@ -153,7 +153,7 @@ module.exports = (cl) => {
let dbentry = user.userdb.get(uSr._id); let dbentry = user.userdb.get(uSr._id);
if (!dbentry) return; if (!dbentry) return;
dbentry.color = msg.color; dbentry.color = msg.color;
user.updatedb(); //user.updatedb();
console.log("Updateing user ", uSr.color, msg.color); console.log("Updateing user ", uSr.color, msg.color);
cl.server.rooms.forEach((room) => { cl.server.rooms.forEach((room) => {
room.updateParticipant(usr.participantId, {color: msg.color}); room.updateParticipant(usr.participantId, {color: msg.color});