Remove debug message
This commit is contained in:
parent
340bc37374
commit
fd01a95a65
1 changed files with 0 additions and 1 deletions
|
|
@ -412,7 +412,6 @@ export default {
|
||||||
if (room && room.getJoinRule() == "private" && room.selfMembership == "invite") {
|
if (room && room.getJoinRule() == "private" && room.selfMembership == "invite") {
|
||||||
// We have an invite to a room that's now "private"? This is most probably a deleted DM room.
|
// We have an invite to a room that's now "private"? This is most probably a deleted DM room.
|
||||||
// Reject the invite, i.e. call "leave" on it.
|
// Reject the invite, i.e. call "leave" on it.
|
||||||
console.error("Room made private while we have an invite! Leave...");
|
|
||||||
this.matrixClient.leave(room.roomId);
|
this.matrixClient.leave(room.roomId);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue