Don't do unecessary db ops in presence.get_state

This commit is contained in:
Erik Johnston 2015-06-16 16:59:38 +01:00
parent bc42ca121f
commit 0460406298
2 changed files with 15 additions and 14 deletions

View file

@ -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: