mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 14:06:02 -04:00
Remove context.push_actions
This commit is contained in:
parent
c714c61853
commit
4810f7effd
5 changed files with 11 additions and 20 deletions
|
@ -1168,10 +1168,9 @@ class EventsStore(SQLBaseStore):
|
|||
|
||||
for event, context in events_and_contexts:
|
||||
# Insert all the push actions into the event_push_actions table.
|
||||
if context.push_actions:
|
||||
self._set_push_actions_for_event_and_users_txn(
|
||||
txn, event,
|
||||
)
|
||||
self._set_push_actions_for_event_and_users_txn(
|
||||
txn, event,
|
||||
)
|
||||
|
||||
if event.type == EventTypes.Redaction and event.redacts is not None:
|
||||
# Remove the entries in the event_push_actions table for the
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue