summary refs log tree commit diff
diff options
context:
space:
mode:
authorMathieu Velten <mathieuv@matrix.org>2023-06-30 16:03:58 +0200
committerMathieu Velten <mathieuv@matrix.org>2023-06-30 16:03:58 +0200
commit32e976f226682bd6ba768b9407277bcdee7e9153 (patch)
tree6379b0439b31b9010737df37c6bfd02386e0c883
parentUse DB for all purge/shutdown actions, including purge history (diff)
downloadsynapse-32e976f226682bd6ba768b9407277bcdee7e9153.tar.xz
Comment
-rw-r--r--synapse/rest/admin/rooms.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/synapse/rest/admin/rooms.py b/synapse/rest/admin/rooms.py
index ed54c8bb64..9e31d018b1 100644
--- a/synapse/rest/admin/rooms.py
+++ b/synapse/rest/admin/rooms.py
@@ -160,6 +160,8 @@ class DeleteRoomStatusByRoomIdRestServlet(RestServlet):
 
         response = []
         for delete_status in delete_statuses:
+            # We ignore scheduled deletes because currently they are only used
+            # for automatically purging forgotten room after X time.
             if delete_status.status != DeleteStatus.STATUS_SCHEDULED:
                 response += [delete_status.asdict()]