mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-03 00:54:47 -04:00
Allow non-guests to peek on rooms using /events
This commit is contained in:
parent
ea5eea2424
commit
da417aa56d
8 changed files with 107 additions and 84 deletions
|
@ -936,7 +936,7 @@ class RoomContextHandler(BaseHandler):
|
|||
return self._filter_events_for_client(
|
||||
user.to_string(),
|
||||
events,
|
||||
is_guest=is_guest)
|
||||
is_peeking=is_guest)
|
||||
|
||||
event = yield self.store.get_event(event_id, get_prev_content=True,
|
||||
allow_none=True)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue