Update event_push_actions table from staging table

This commit is contained in:
Erik Johnston 2018-02-15 15:13:36 +00:00
parent acac21248c
commit c714c61853
2 changed files with 37 additions and 20 deletions

View file

@ -1170,7 +1170,7 @@ class EventsStore(SQLBaseStore):
# 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, context.push_actions
txn, event,
)
if event.type == EventTypes.Redaction and event.redacts is not None: