mirror of
https://mau.dev/maunium/synapse.git
synced 2024-12-16 13:43:51 +01:00
Log new room ID
This commit is contained in:
parent
74c46d81fa
commit
6b28890543
1 changed files with 6 additions and 1 deletions
|
@ -490,8 +490,13 @@ class ShutdownRoomRestServlet(ClientV1RestServlet):
|
|||
|
||||
requester_user_id = requester.user.to_string()
|
||||
|
||||
logger.info("Shutting down room %r", room_id)
|
||||
logger.info(
|
||||
"Shutting down room %r, joining to new room: %r",
|
||||
room_id, new_room_id,
|
||||
)
|
||||
|
||||
# This will work even if the room is already blocked, but that is
|
||||
# desirable in case the first attempt at blocking the room failed below.
|
||||
yield self.store.block_room(room_id, requester_user_id)
|
||||
|
||||
users = yield self.state.get_current_user_in_room(room_id)
|
||||
|
|
Loading…
Reference in a new issue