From 75259ef399da269a8fa81bab7b0d33ae7d13c0e4 Mon Sep 17 00:00:00 2001
From: richvdh Note: This guide may be outdated by the time you read it. By nature of room shutdowns being performed at the database level,
+ Note: This guide may be outdated by the time you read it. By nature of room deletions being performed at the database level,
the structure can and does change without notice. First, it's important to understand that a room shutdown is very destructive. Undoing a shutdown is not as simple as pretending it
+ First, it's important to understand that a room deletion is very destructive. Undoing a deletion is not as simple as pretending it
never happened - work has to be done to move forward instead of resetting the past. In fact, in some cases it might not be possible
to recover at all: With all that being said, if you still want to try and recover the room: If the room was You will have to manually handle, if you so choose, the following: This step is unnecessary if Any room aliases on your server that pointed to the deleted room may have
+been deleted, or redirected to the Content Violation room. These will need
+to be restored manually. Users on your server that were in the deleted room will have been kicked
+from the room. Consider whether you want to update their membership
+(possibly via the Edit Room Membership API) or let
+them handle rejoining themselves. If The previous deprecated API will be removed in a future release, it was:new_room_id
- A string representing the room ID of the new room.Undoing room shutdowns
-Undoing room deletions
+
+
block
ed, you must unblock it on your server. This can be
+accomplished as follows:
-DELETE FROM blocked_rooms WHERE room_id = '!example:example.org';
BEGIN; DELETE ...;
, verify you got 1 result, then COMMIT;
.
-
+block
was not set.new_room_user_id
was given, a 'Content Violation' will have been
+created. Consider whether you want to delete that roomm.Deprecated endpoint
POST /_synapse/admin/v1/rooms/<room_id>/delete
@@ -9974,7 +9991,7 @@ optionally be specified, e.g.:
Enables querying and deleting forward extremities from rooms. When a lot of forward -extremities accumulate in a room, performance can become degraded. For details, see +extremities accumulate in a room, performance can become degraded. For details, see #1760.
To check the status of forward extremities for a room:
@@ -9994,7 +10011,7 @@ extremities accumulate in a room, performance can become degraded. For details, }WARNING: Please ensure you know what you're doing and have read +
WARNING: Please ensure you know what you're doing and have read the related issue #1760. Under no situations should this API be executed as an automated maintenance task!
If a room has lots of forward extremities, the extra can be -- cgit 1.5.1