mirror of
https://github.com/matrix-construct/construct
synced 2024-09-28 19:58:53 +02:00
ircd:Ⓜ️:room::members: Fix key regressions in room::members queries.
This commit is contained in:
parent
1fa275813c
commit
b5b32e15da
1 changed files with 2 additions and 6 deletions
|
@ -3161,11 +3161,9 @@ const
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
// The list of event fields to fetch for the closure
|
|
||||||
static const event::keys::include keys
|
static const event::keys::include keys
|
||||||
{
|
{
|
||||||
"event_id", // Added for any upstack usage (but may be unnecessary).
|
"content",
|
||||||
"content", // Required because synapse events randomly have no event.membership
|
|
||||||
};
|
};
|
||||||
|
|
||||||
const m::event::fetch::opts fopts
|
const m::event::fetch::opts fopts
|
||||||
|
@ -3246,9 +3244,7 @@ const
|
||||||
// Setup the list of event fields to fetch for the closure
|
// Setup the list of event fields to fetch for the closure
|
||||||
static const event::keys::include keys
|
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
|
// In this case the fetch opts isn't static so it can maintain the
|
||||||
|
|
Loading…
Reference in a new issue