mirror of
https://github.com/element-hq/synapse
synced 2024-07-07 12:32:50 +00:00
Protect both times
This commit is contained in:
parent
fa8e029bfc
commit
13f6c6d115
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue