Skip to content
Snippets Groups Projects
Commit a7648696 authored by David Teller's avatar David Teller
Browse files

FIXUP: Doc

parent b859919a
No related branches found
No related tags found
No related merge requests found
......@@ -568,6 +568,12 @@ class ForwardExtremitiesRestServlet(RestServlet):
return 200, {"count": len(extremities), "results": extremities}
class RoomEventContextServlet(RestServlet):
"""
Provide the context for an event.
This API is designed to be used when system administrators wish to look at
an abuse report and understand what happened during and immediately prior
to this event.
"""
PATTERNS = admin_patterns("/rooms/(?P<room_id>[^/]*)/context/(?P<event_id>[^/]*)$")
def __init__(self, hs):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment