mirror of
https://github.com/element-hq/synapse.git
synced 2024-11-25 19:15:51 +03:00
FIXUP: Doc
This commit is contained in:
parent
b859919acc
commit
a764869623
1 changed files with 6 additions and 0 deletions
|
@ -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):
|
||||
|
|
Loading…
Reference in a new issue