0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-12-17 09:53:55 +01:00

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

This commit is contained in:
Emmanuel ROHEE 2014-09-19 09:17:18 +02:00
parent cf1e167034
commit 301ef1bdc6

View file

@ -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;