mirror of
https://github.com/matrix-construct/construct
synced 2024-11-26 08:42:34 +01:00
ircd:Ⓜ️:event::fetch: Obey keys selection when fetching event with full json query.
This commit is contained in:
parent
fc703660f6
commit
f9127e5681
1 changed files with 2 additions and 2 deletions
|
@ -1548,9 +1548,9 @@ ircd::m::seek(event::fetch &fetch,
|
|||
if(query_json)
|
||||
{
|
||||
if((fetch.valid = fetch._json.load(key, opts.gopts)))
|
||||
event = json::object
|
||||
event = m::event
|
||||
{
|
||||
fetch._json.val()
|
||||
json::object{fetch._json.val()}, opts.keys
|
||||
};
|
||||
|
||||
if(fetch.valid)
|
||||
|
|
Loading…
Reference in a new issue