mirror of
https://github.com/matrix-construct/construct
synced 2024-12-27 07:54:05 +01:00
modules/client/sync/rooms/account_data: Eliminate the idx upper bound on room tags selection.
This commit is contained in:
parent
6d849b5adc
commit
f3ba0f163b
1 changed files with 0 additions and 1 deletions
|
@ -191,7 +191,6 @@ ircd::m::sync::room_account_data_linear_tags(data &data,
|
||||||
// the required format. The event_idx is hacked to 0 here to trick the
|
// the required format. The event_idx is hacked to 0 here to trick the
|
||||||
// polylog apropos() into composing all tags unconditionally.
|
// polylog apropos() into composing all tags unconditionally.
|
||||||
const scope_restore range_lower{data.range.first, 0UL};
|
const scope_restore range_lower{data.range.first, 0UL};
|
||||||
const scope_restore range_upper{data.range.second, data.event_idx + 1};
|
|
||||||
const scope_restore room__{data.room, &room};
|
const scope_restore room__{data.room, &room};
|
||||||
return room_account_data_polylog_tags(data);
|
return room_account_data_polylog_tags(data);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue