Room id leaks: log them when then happens. Plus log the conditions that made them happen
parent
cf1e167034
commit
301ef1bdc6
|
@ -113,6 +113,10 @@ angular.module('matrixFilter', [])
|
||||||
if (undefined === roomName) {
|
if (undefined === roomName) {
|
||||||
// By default, use the room ID
|
// By default, use the room ID
|
||||||
roomName = 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;
|
return roomName;
|
||||||
|
|
Loading…
Reference in New Issue