diff options
author | Erik Johnston <erik@matrix.org> | 2015-06-16 16:59:38 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2015-06-16 16:59:38 +0100 |
commit | 04604062984a6dc27174fa42e4c9f91fbe7b0c42 (patch) | |
tree | 34ce88b86ad325d99b453a0f8c82faab1b80fc96 /synapse/handlers/message.py | |
parent | Merge pull request #185 from matrix-org/erikj/listeners_config (diff) | |
download | synapse-04604062984a6dc27174fa42e4c9f91fbe7b0c42.tar.xz |
Don't do unecessary db ops in presence.get_state
Diffstat (limited to 'synapse/handlers/message.py')
-rw-r--r-- | synapse/handlers/message.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/synapse/handlers/message.py b/synapse/handlers/message.py index 867fdbefb0..1ed9e961f1 100644 --- a/synapse/handlers/message.py +++ b/synapse/handlers/message.py @@ -403,6 +403,7 @@ class MessageHandler(BaseHandler): target_user=UserID.from_string(m.user_id), auth_user=auth_user, as_event=True, + check_auth=False, ) presence.append(member_presence) except SynapseError: |