Delete rooms without pending users or participants

This commit is contained in:
Antonio Scandurra 2022-10-06 14:20:40 +02:00
parent c43956d70a
commit 2e84fc6737
3 changed files with 42 additions and 6 deletions

View file

@ -646,7 +646,9 @@ impl Server {
}
}
self.room_updated(left_room.room);
if let Some(room) = left_room.room {
self.room_updated(room);
}
Ok(())
}