mirror of
https://github.com/matrix-construct/construct
synced 2025-01-14 08:44:18 +01:00
ircd:Ⓜ️ Fallback to default opts prefetch for properties without columns.
This commit is contained in:
parent
54ba30d3d1
commit
b6b630c3d1
1 changed files with 3 additions and 0 deletions
|
@ -836,6 +836,9 @@ ircd::m::prefetch(const event::idx &event_idx,
|
|||
json::indexof<event>(key)
|
||||
};
|
||||
|
||||
if(column_idx >= dbs::event_column.size())
|
||||
return prefetch(event_idx, event::fetch::default_opts);
|
||||
|
||||
auto &column
|
||||
{
|
||||
dbs::event_column.at(column_idx)
|
||||
|
|
Loading…
Reference in a new issue