mirror of
https://mau.dev/maunium/synapse.git
synced 2024-12-17 06:43:50 +01:00
Room id leaks: log them when then happens. Plus log the conditions that made them happen
This commit is contained in:
parent
cf1e167034
commit
301ef1bdc6
1 changed files with 4 additions and 0 deletions
|
@ -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…
Reference in a new issue