diff options
author | Eric Eastwood <erice@element.io> | 2022-12-24 02:44:39 -0600 |
---|---|---|
committer | Eric Eastwood <erice@element.io> | 2022-12-24 02:44:39 -0600 |
commit | 13f6c6d115f6ff7e4210b316205d2beb9b485eae (patch) | |
tree | 351f3b186373546db2fc09d07e2921da2eb8d44f | |
parent | move it again (diff) | |
download | synapse-github/madlittlemods/gitter-patch-ignore-our-own-events.tar.xz |
Protect both times github/madlittlemods/gitter-patch-ignore-our-own-events madlittlemods/gitter-patch-ignore-our-own-events
-rw-r--r-- | synapse/appservice/scheduler.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/synapse/appservice/scheduler.py b/synapse/appservice/scheduler.py index d90d45b643..ac8684407b 100644 --- a/synapse/appservice/scheduler.py +++ b/synapse/appservice/scheduler.py @@ -159,6 +159,7 @@ class ApplicationServiceScheduler: event for event in events if not self._hs.is_mine_id(event.sender) ] + if events: self.queuer.queued_events.setdefault(appservice.id, []).extend(events) if ephemeral: self.queuer.queued_ephemeral.setdefault(appservice.id, []).extend(ephemeral) |