0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-06-08 13:08:56 +02:00

ircd:Ⓜ️:acquire: Use backfill for potentially softfailed state.

This commit is contained in:
Jason Volk 2021-01-12 10:04:22 -08:00
parent ee23dae92a
commit 165454dd85

View file

@ -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 =