summary refs log tree commit diff
path: root/synapse/handlers/message.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2015-06-16 16:59:38 +0100
committerErik Johnston <erik@matrix.org>2015-06-16 16:59:38 +0100
commit04604062984a6dc27174fa42e4c9f91fbe7b0c42 (patch)
tree34ce88b86ad325d99b453a0f8c82faab1b80fc96 /synapse/handlers/message.py
parentMerge pull request #185 from matrix-org/erikj/listeners_config (diff)
downloadsynapse-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.py1
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: