From 4d48be4aa6661c80e0254ddcbd4fed5adf2175c1 Mon Sep 17 00:00:00 2001 From: Jason Volk Date: Sat, 19 Dec 2020 20:59:00 -0800 Subject: [PATCH] ircd::m::dbs: Propagate appendix bits to horizon resolver options. --- matrix/dbs_event_horizon.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/matrix/dbs_event_horizon.cc b/matrix/dbs_event_horizon.cc index 8dcc443ee..a27a82994 100644 --- a/matrix/dbs_event_horizon.cc +++ b/matrix/dbs_event_horizon.cc @@ -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);