Reduce strictness of delayed event delta fetching (#18858)
This commit is contained in:
committed by
GitHub
parent
499f947c67
commit
c339021ce8
1
changelog.d/18858.bugfix
Normal file
1
changelog.d/18858.bugfix
Normal file
@@ -0,0 +1 @@
|
||||
Do not throw an error when fetching a rejected delayed state event on startup.
|
||||
@@ -215,9 +215,9 @@ class DelayedEventsHandler:
|
||||
"Handling: %r %r, %s", delta.event_type, delta.state_key, delta.event_id
|
||||
)
|
||||
|
||||
event = await self._store.get_event(
|
||||
delta.event_id, check_room_id=delta.room_id
|
||||
)
|
||||
event = await self._store.get_event(delta.event_id, allow_none=True)
|
||||
if not event:
|
||||
continue
|
||||
sender = UserID.from_string(event.sender)
|
||||
|
||||
next_send_ts = await self._store.cancel_delayed_state_events(
|
||||
|
||||
Reference in New Issue
Block a user