From efccdab0ad501df35bcb1963d0d086dc7f5d13c9 Mon Sep 17 00:00:00 2001 From: Luke Barnard Date: Mon, 5 Sep 2016 15:16:22 +0100 Subject: [PATCH] Better error message for room not viewed --- src/ScalarMessaging.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ScalarMessaging.js b/src/ScalarMessaging.js index ee894ac785..b8ba474b5f 100644 --- a/src/ScalarMessaging.js +++ b/src/ScalarMessaging.js @@ -265,7 +265,7 @@ const onMessage = function(event) { return; } if (roomId !== currentRoomId) { - sendError(event, "Room not in view"); + sendError(event, "Room " + roomId + " not in view"); return; }