0
0
Fork 0
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:
Jason Volk 2019-01-16 15:17:45 -08:00
parent fc703660f6
commit f9127e5681

View file

@ -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)