mirror of
https://github.com/matrix-construct/construct
synced 2024-12-25 15:04:10 +01:00
ircd:Ⓜ️:acquire: Use backfill for potentially softfailed state.
This commit is contained in:
parent
ee23dae92a
commit
165454dd85
1 changed files with 3 additions and 4 deletions
|
@ -617,12 +617,11 @@ try
|
|||
fetch::opts fopts;
|
||||
fopts.room_id = opts.room.room_id;
|
||||
fopts.event_id = event_id;
|
||||
|
||||
fopts.backfill_limit = limit;
|
||||
fopts.op =
|
||||
limit > 1?
|
||||
fetch::op::backfill:
|
||||
fetch::op::event;
|
||||
(limit > 1 || hint)?
|
||||
fetch::op::backfill:
|
||||
fetch::op::event;
|
||||
|
||||
fopts.hint = hint;
|
||||
fopts.attempt_limit =
|
||||
|
|
Loading…
Reference in a new issue