From faada0abaea3c80518ce6e8d236d5c1cbc0e5841 Mon Sep 17 00:00:00 2001 From: linkmauve Date: Mon, 23 Jul 2018 20:11:47 +0200 Subject: [PATCH] Print a nicer log message on participant join/part This makes the logs more readable. --- conference.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/conference.js b/conference.js index 2241b802c..7362e2bcf 100644 --- a/conference.js +++ b/conference.js @@ -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(),