this looks like a good idea
This commit is contained in:
parent
feef2ec0ed
commit
58291fb3a7
|
@ -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});
|
||||||
|
|
Loading…
Reference in New Issue