0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-12-26 15:33:54 +01:00

modules/client/sync/rooms/account_data: Eliminate the idx upper bound on room tags selection.

This commit is contained in:
Jason Volk 2019-04-29 10:28:55 -07:00
parent 6d849b5adc
commit f3ba0f163b

View file

@ -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
// polylog apropos() into composing all tags unconditionally.
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};
return room_account_data_polylog_tags(data);
}