summary refs log tree commit diff
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2022-10-03 14:45:19 +0100
committerGitHub <noreply@github.com>2022-10-03 13:45:19 +0000
commit2c237debd3476bcc45a76e360b0cb33032b23045 (patch)
treef2fa1975e8a4f1d0c16d87182b644d2509590889
parentTry again to automate dependabot changelogs (#14017) (diff)
downloadsynapse-2c237debd3476bcc45a76e360b0cb33032b23045.tar.xz
Fix bug where we didn't delete staging push actions (#14014)
Introduced in #13719
-rw-r--r--changelog.d/14014.bugfix1
-rw-r--r--synapse/storage/databases/main/events.py2
2 files changed, 2 insertions, 1 deletions
diff --git a/changelog.d/14014.bugfix b/changelog.d/14014.bugfix
new file mode 100644
index 0000000000..4318f4daff
--- /dev/null
+++ b/changelog.d/14014.bugfix
@@ -0,0 +1 @@
+Send invite push notifications for invite over federation.
diff --git a/synapse/storage/databases/main/events.py b/synapse/storage/databases/main/events.py
index bb489b8189..3e15827986 100644
--- a/synapse/storage/databases/main/events.py
+++ b/synapse/storage/databases/main/events.py
@@ -2174,7 +2174,7 @@ class PersistEventsStore:
             (
                 (event.event_id,)
                 for event, _ in all_events_and_contexts
-                if not event.internal_metadata.is_outlier()
+                if event.internal_metadata.is_notifiable()
             ),
         )