mirror of
https://github.com/element-hq/synapse
synced 2024-08-20 10:50:21 +00:00
Protect both times
This commit is contained in:
parent
fa8e029bfc
commit
13f6c6d115
1 changed files with 1 additions and 0 deletions
|
@ -159,6 +159,7 @@ class ApplicationServiceScheduler:
|
||||||
event for event in events if not self._hs.is_mine_id(event.sender)
|
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)
|
self.queuer.queued_events.setdefault(appservice.id, []).extend(events)
|
||||||
if ephemeral:
|
if ephemeral:
|
||||||
self.queuer.queued_ephemeral.setdefault(appservice.id, []).extend(ephemeral)
|
self.queuer.queued_ephemeral.setdefault(appservice.id, []).extend(ephemeral)
|
||||||
|
|
Loading…
Reference in a new issue