mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-13 06:32:16 -04:00
Avoid attempting to delete push actions for remote users. (#12879)
Remote users will never have push actions, so we can avoid a database round-trip/transaction completely.
This commit is contained in:
parent
b83bc5fab5
commit
b5707ceaba
5 changed files with 8 additions and 4 deletions
|
@ -938,7 +938,7 @@ class EventPushActionsWorkerStore(SQLBaseStore):
|
|||
users can still get a list of recent highlights.
|
||||
|
||||
Args:
|
||||
txn: The transcation
|
||||
txn: The transaction
|
||||
room_id: Room ID to delete from
|
||||
user_id: user ID to delete for
|
||||
stream_ordering: The lowest stream ordering which will
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue