mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2025-05-02 16:44:48 -04:00
Don't do unecessary db ops in presence.get_state
This commit is contained in:
parent
bc42ca121f
commit
0460406298
2 changed files with 15 additions and 14 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue