diff options
author | Erik Johnston <erik@matrix.org> | 2015-08-12 17:05:24 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2015-08-12 17:05:24 +0100 |
commit | 7b0e7970800df8cedf7966e6fb3837ee233d9ea4 (patch) | |
tree | b93839eb906250ac45469b33578bbc7c54b4a216 /synapse/handlers/message.py | |
parent | Docstring (diff) | |
download | synapse-7b0e7970800df8cedf7966e6fb3837ee233d9ea4.tar.xz |
Fix _filter_events_for_client
Diffstat (limited to 'synapse/handlers/message.py')
-rw-r--r-- | synapse/handlers/message.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/synapse/handlers/message.py b/synapse/handlers/message.py index 8a9e6cf6ca..29e81085d1 100644 --- a/synapse/handlers/message.py +++ b/synapse/handlers/message.py @@ -145,9 +145,7 @@ class MessageHandler(BaseHandler): ) ) - def allowed(event_and_state): - event, state = event_and_state - + def allowed(event, state): if event.type == EventTypes.RoomHistoryVisibility: return True |