mirror of
https://github.com/element-hq/synapse.git
synced 2024-12-20 10:55:09 +03:00
lint
This commit is contained in:
parent
2347e3c362
commit
ad2c415965
1 changed files with 1 additions and 1 deletions
|
@ -572,7 +572,7 @@ class RoomEventServlet(RestServlet):
|
||||||
event = yield self.event_handler.get_event(
|
event = yield self.event_handler.get_event(
|
||||||
requester.user, room_id, event_id
|
requester.user, room_id, event_id
|
||||||
)
|
)
|
||||||
except AuthError as e:
|
except AuthError:
|
||||||
# This endpoint is supposed to return a 404 when the requester does
|
# This endpoint is supposed to return a 404 when the requester does
|
||||||
# not have permission to access the event
|
# not have permission to access the event
|
||||||
# https://matrix.org/docs/spec/client_server/r0.5.0#get-matrix-client-r0-rooms-roomid-event-eventid
|
# https://matrix.org/docs/spec/client_server/r0.5.0#get-matrix-client-r0-rooms-roomid-event-eventid
|
||||||
|
|
Loading…
Reference in a new issue