Actually use new param

pull/2894/head
Erik Johnston 2018-02-21 11:03:42 +00:00
parent 25634ed152
commit c96d547f4d
1 changed files with 3 additions and 1 deletions

View File

@ -140,11 +140,13 @@ class EventPushActionsStore(SQLBaseStore):
(event.room_id, uid,) (event.room_id, uid,)
) )
# Now we delete the staging area for *all* events that were being
# persisted.
txn.executemany( txn.executemany(
"DELETE FROM event_push_actions_staging WHERE event_id = ?", "DELETE FROM event_push_actions_staging WHERE event_id = ?",
( (
(event.event_id,) (event.event_id,)
for event, _ in events_and_contexts for event, _ in all_events_and_contexts
) )
) )