Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.

Commit a764869

Browse files
committed
FIXUP: Doc
1 parent b859919 commit a764869

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

synapse/rest/admin/rooms.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -568,6 +568,12 @@ async def on_GET(self, request, room_identifier):
568568
return 200, {"count": len(extremities), "results": extremities}
569569

570570
class RoomEventContextServlet(RestServlet):
571+
"""
572+
Provide the context for an event.
573+
This API is designed to be used when system administrators wish to look at
574+
an abuse report and understand what happened during and immediately prior
575+
to this event.
576+
"""
571577
PATTERNS = admin_patterns("/rooms/(?P<room_id>[^/]*)/context/(?P<event_id>[^/]*)$")
572578

573579
def __init__(self, hs):

0 commit comments

Comments
 (0)