From 904c8ccd652602106f834aebbfdaf66bf5f7f073 Mon Sep 17 00:00:00 2001 From: afrokick Date: Mon, 1 Apr 2019 15:17:38 +0300 Subject: [PATCH] fix --- src/messageHandler/handlers/transmission/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/messageHandler/handlers/transmission/index.js b/src/messageHandler/handlers/transmission/index.js index 4afd75e..92d1168 100644 --- a/src/messageHandler/handlers/transmission/index.js +++ b/src/messageHandler/handlers/transmission/index.js @@ -43,10 +43,10 @@ const handler = (client, message) => { // Wait for this client to connect/reconnect (XHR) for important // messages. if (type !== MessageType.LEAVE && type !== MessageType.EXPIRE && dstId) { - logger.debug(`[HANDLER] dst client ${dstId} not found, add msg to queue`); + logger.debug(`[transmission] dst client ${dstId} not found, add msg ${type} to queue`); realm.addMessageToQueue(dstId, message); } else if (type === MessageType.LEAVE && !dstId) { - logger.debug(`[HANDLER] remove client ${srcId}`); + logger.debug(`[transmission] remove client ${srcId}`); realm.removeClientById(srcId); } else { // Unavailable destination specified with message LEAVE or EXPIRE