0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-29 18:22:50 +01:00

ircd:Ⓜ️:dbs: Select room head resolve indexer during event horizon resolve.

This commit is contained in:
Jason Volk 2020-03-28 11:37:01 -07:00
parent b95f6e1af4
commit c6a4ab17c7

View file

@ -211,6 +211,7 @@ ircd::m::dbs::_index_event_horizon_resolve(db::txn &txn,
_opts.appendix.reset();
_opts.appendix.set(appendix::EVENT_REFS);
_opts.appendix.set(appendix::ROOM_REDACT);
_opts.appendix.set(appendix::ROOM_HEAD_RESOLVE);
_opts.event_refs = opts.horizon_resolve;
_opts.interpose = &txn;
write(txn, _event, _opts);