mirror of
https://github.com/matrix-construct/construct
synced 2025-01-16 09:36:54 +01:00
ircd:Ⓜ️:room::state::space: Fix key construction for wildcard ranges.
This commit is contained in:
parent
01df345789
commit
48ee5e01d5
1 changed files with 6 additions and 1 deletions
|
@ -2830,10 +2830,15 @@ ircd::m::room::state::space::for_each(const string_view &type,
|
|||
const closure &closure)
|
||||
const
|
||||
{
|
||||
const int64_t &_depth
|
||||
{
|
||||
type? depth : 0L
|
||||
};
|
||||
|
||||
char buf[dbs::ROOM_STATE_SPACE_KEY_MAX_SIZE];
|
||||
const string_view &key
|
||||
{
|
||||
dbs::room_state_space_key(buf, room.room_id, type, state_key, depth, 0UL)
|
||||
dbs::room_state_space_key(buf, room.room_id, type, state_key, _depth, 0UL)
|
||||
};
|
||||
|
||||
auto it
|
||||
|
|
Loading…
Reference in a new issue