Delete rooms without pending users or participants
This commit is contained in:
parent
c43956d70a
commit
2e84fc6737
3 changed files with 42 additions and 6 deletions
|
@ -646,7 +646,9 @@ impl Server {
|
|||
}
|
||||
}
|
||||
|
||||
self.room_updated(left_room.room);
|
||||
if let Some(room) = left_room.room {
|
||||
self.room_updated(room);
|
||||
}
|
||||
Ok(())
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue