From f3ba0f163b37db5511e8e1a5a09d9ac1d3104d8d Mon Sep 17 00:00:00 2001 From: Jason Volk Date: Mon, 29 Apr 2019 10:28:55 -0700 Subject: [PATCH] modules/client/sync/rooms/account_data: Eliminate the idx upper bound on room tags selection. --- modules/client/sync/rooms/account_data.cc | 1 - 1 file changed, 1 deletion(-) diff --git a/modules/client/sync/rooms/account_data.cc b/modules/client/sync/rooms/account_data.cc index 58f9a2b75..e5664e083 100644 --- a/modules/client/sync/rooms/account_data.cc +++ b/modules/client/sync/rooms/account_data.cc @@ -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); }