Print a nicer log message on participant join/part
This makes the logs more readable.
This commit is contained in:
parent
1d99abc4a4
commit
faada0abae
|
@ -1678,7 +1678,7 @@ export default {
|
|||
role: user.getRole()
|
||||
}));
|
||||
|
||||
logger.log('USER %s connnected', id, user);
|
||||
logger.log(`USER ${id} connnected:`, user);
|
||||
APP.API.notifyUserJoined(id, {
|
||||
displayName,
|
||||
formattedDisplayName: appendSuffix(
|
||||
|
@ -1698,7 +1698,7 @@ export default {
|
|||
}
|
||||
|
||||
APP.store.dispatch(participantLeft(id, room));
|
||||
logger.log('USER %s LEFT', id, user);
|
||||
logger.log(`USER ${id} LEFT:`, user);
|
||||
APP.API.notifyUserLeft(id);
|
||||
APP.UI.messageHandler.participantNotification(
|
||||
user.getDisplayName(),
|
||||
|
|
Loading…
Reference in New Issue