0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-06-25 21:38:18 +02:00

ircd:Ⓜ️:room::members: Fix key regressions in room::members queries.

This commit is contained in:
Jason Volk 2019-07-13 19:10:39 -07:00
parent 1fa275813c
commit b5b32e15da

View file

@ -3161,11 +3161,9 @@ const
return ret;
}
// The list of event fields to fetch for the closure
static const event::keys::include keys
{
"event_id", // Added for any upstack usage (but may be unnecessary).
"content", // Required because synapse events randomly have no event.membership
"content",
};
const m::event::fetch::opts fopts
@ -3246,9 +3244,7 @@ const
// Setup the list of event fields to fetch for the closure
static const event::keys::include keys
{
"event_id",
"state_key",
"content",
"state_key", "content",
};
// In this case the fetch opts isn't static so it can maintain the