fix usernames being sent
This commit is contained in:
parent
66ae839318
commit
49f4cc88ed
@ -96,7 +96,7 @@ class Client extends EventEmitter {
|
||||
this.currentTopic = messageObj.topic; // Set the current topic from the incoming message
|
||||
|
||||
const msgType = messageObj.type;
|
||||
const peerName = messageObj.userName; // Changed from name to userName
|
||||
const peerName = messageObj.name;
|
||||
const peerAvatar = messageObj.avatar;
|
||||
const timestamp = messageObj.timestamp;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user