From 87d964b48a68e5dba43bef49bff29d68abba909e Mon Sep 17 00:00:00 2001 From: Erik Johnston Date: Mon, 3 Oct 2022 14:05:08 +0100 Subject: [PATCH 1/2] Fix bug where we didn't delete staging push actions --- synapse/storage/databases/main/events.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/synapse/storage/databases/main/events.py b/synapse/storage/databases/main/events.py index bb489b81893b..3e1582798656 100644 --- a/synapse/storage/databases/main/events.py +++ b/synapse/storage/databases/main/events.py @@ -2174,7 +2174,7 @@ def _set_push_actions_for_event_and_users_txn( ( (event.event_id,) for event, _ in all_events_and_contexts - if not event.internal_metadata.is_outlier() + if event.internal_metadata.is_notifiable() ), ) From 593c439d6d9b7e175626b69a576acc4293e76094 Mon Sep 17 00:00:00 2001 From: Erik Johnston Date: Mon, 3 Oct 2022 14:05:47 +0100 Subject: [PATCH 2/2] Newsfile --- changelog.d/14014.bugfix | 1 + 1 file changed, 1 insertion(+) create mode 100644 changelog.d/14014.bugfix diff --git a/changelog.d/14014.bugfix b/changelog.d/14014.bugfix new file mode 100644 index 000000000000..4318f4dafff5 --- /dev/null +++ b/changelog.d/14014.bugfix @@ -0,0 +1 @@ +Send invite push notifications for invite over federation.