summary refs log tree commit diff
diff options
context:
space:
mode:
authorEmmanuel ROHEE <erohee@amdocs.com>2014-09-19 09:17:18 +0200
committerEmmanuel ROHEE <erohee@amdocs.com>2014-09-19 09:17:18 +0200
commit301ef1bdc6f8806d2aa6d1beca070f956bd715c7 (patch)
treedc8396cf9425b475cfa1515a505fe861f9fd8ec6
parentFixed SYWEB-16: When sending an invite over federation, the remote user sees ... (diff)
downloadsynapse-301ef1bdc6f8806d2aa6d1beca070f956bd715c7.tar.xz
Room id leaks: log them when then happens. Plus log the conditions that made them happen
-rw-r--r--webclient/components/matrix/matrix-filter.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/webclient/components/matrix/matrix-filter.js b/webclient/components/matrix/matrix-filter.js
index 6233fc45f8..dba511db6e 100644
--- a/webclient/components/matrix/matrix-filter.js
+++ b/webclient/components/matrix/matrix-filter.js
@@ -113,6 +113,10 @@ angular.module('matrixFilter', [])
         if (undefined === roomName) {
             // By default, use the room ID
             roomName = room_id;
+
+            // Log some information that lead to this leak
+            console.log("Room ID leak for " + room_id);
+            console.log("room object: " + JSON.stringify(room, undefined, 4));   
         }
 
         return roomName;