Room id leaks: log them when then happens. Plus log the conditions that made them happen

pull/4/merge
Emmanuel ROHEE 10 years ago
parent cf1e167034
commit 301ef1bdc6
  1. 4
      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;

Loading…
Cancel
Save