diff options
author | Erik Johnston <erik@matrix.org> | 2014-10-15 16:06:59 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2014-10-15 16:06:59 +0100 |
commit | e7bc1291a079224315cea5c756061ad711241be1 (patch) | |
tree | b9f303a57a6700df30e1b985a991ca1b7d09f63c /synapse/handlers/profile.py | |
parent | Add missing package storate.state (diff) | |
download | synapse-e7bc1291a079224315cea5c756061ad711241be1.tar.xz |
Begin making auth use event.old_state_events
Diffstat (limited to 'synapse/handlers/profile.py')
-rw-r--r-- | synapse/handlers/profile.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/synapse/handlers/profile.py b/synapse/handlers/profile.py index dab9b03f04..4cd0a06093 100644 --- a/synapse/handlers/profile.py +++ b/synapse/handlers/profile.py @@ -218,5 +218,6 @@ class ProfileHandler(BaseHandler): user_id=j.state_key, ) - yield self.state_handler.handle_new_event(new_event, snapshot) - yield self._on_new_room_event(new_event, snapshot) + yield self._on_new_room_event( + new_event, snapshot, suppress_auth=True + ) |