mirror of
https://github.com/matrix-construct/construct
synced 2024-11-12 13:01:07 +01:00
ircd:Ⓜ️:dbs: Propagate appendix bits to horizon resolver options.
This commit is contained in:
parent
59d4b987b5
commit
4d48be4aa6
1 changed files with 3 additions and 3 deletions
|
@ -261,9 +261,9 @@ ircd::m::dbs::_index_event_horizon_resolve_one(db::txn &txn,
|
|||
_opts.op = opts.op;
|
||||
_opts.event_idx = event_idx;
|
||||
_opts.appendix.reset();
|
||||
_opts.appendix.set(appendix::EVENT_REFS);
|
||||
_opts.appendix.set(appendix::ROOM_REDACT);
|
||||
_opts.appendix.set(appendix::ROOM_HEAD_RESOLVE);
|
||||
_opts.appendix.set(appendix::EVENT_REFS, opts.appendix[appendix::EVENT_REFS]);
|
||||
_opts.appendix.set(appendix::ROOM_REDACT, opts.appendix[appendix::ROOM_REDACT]);
|
||||
_opts.appendix.set(appendix::ROOM_HEAD_RESOLVE, opts.appendix[appendix::ROOM_HEAD_RESOLVE]);
|
||||
_opts.event_refs = opts.horizon_resolve;
|
||||
_opts.interpose = &txn;
|
||||
write(txn, _event, _opts);
|
||||
|
|
Loading…
Reference in a new issue