diff options
author | Emmanuel ROHEE <erohee@amdocs.com> | 2014-09-19 09:17:18 +0200 |
---|---|---|
committer | Emmanuel ROHEE <erohee@amdocs.com> | 2014-09-19 09:17:18 +0200 |
commit | 301ef1bdc6f8806d2aa6d1beca070f956bd715c7 (patch) | |
tree | dc8396cf9425b475cfa1515a505fe861f9fd8ec6 | |
parent | Fixed SYWEB-16: When sending an invite over federation, the remote user sees ... (diff) | |
download | synapse-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.js | 4 |
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; |