mirror of
https://github.com/matrix-construct/construct
synced 2024-11-15 14:31:11 +01:00
ircd:Ⓜ️:room::state::space: Exclude reference event from results.
This commit is contained in:
parent
586468501f
commit
a119e6a3ef
1 changed files with 1 additions and 1 deletions
|
@ -2800,7 +2800,7 @@ const
|
||||||
return space.for_each(type, state_key, [&]
|
return space.for_each(type, state_key, [&]
|
||||||
(const auto &type, const auto &state_key, const auto &depth, const auto &event_idx)
|
(const auto &type, const auto &state_key, const auto &depth, const auto &event_idx)
|
||||||
{
|
{
|
||||||
if(bound > -1 && depth > bound)
|
if(bound > -1 && depth >= bound)
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
if(type == last_type && state_key == last_state_key)
|
if(type == last_type && state_key == last_state_key)
|
||||||
|
|
Loading…
Reference in a new issue