mirror of
https://github.com/element-hq/synapse.git
synced 2024-12-19 17:56:19 +03:00
Hide event existence
This commit is contained in:
parent
e906115472
commit
2347e3c362
1 changed files with 1 additions and 1 deletions
|
@ -576,7 +576,7 @@ class RoomEventServlet(RestServlet):
|
|||
# This endpoint is supposed to return a 404 when the requester does
|
||||
# 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
|
||||
return (404, e.msg)
|
||||
return (404, "Event not found.")
|
||||
|
||||
time_now = self.clock.time_msec()
|
||||
if event:
|
||||
|
|
Loading…
Reference in a new issue