0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-17 23:40:57 +01:00

modules/client/sync/rooms/account_data: Ignore since range for tags on polylog sync.

This commit is contained in:
Jason Volk 2019-06-05 15:18:46 -07:00
parent f702520044
commit 6982fa2dac

View file

@ -305,8 +305,9 @@ ircd::m::sync::room_account_data_polylog_tags(data &data)
data.user_state.for_each(type, [&data, &tags, &ret] data.user_state.for_each(type, [&data, &tags, &ret]
(const string_view &type, const string_view &state_key, const m::event::idx &event_idx) (const string_view &type, const string_view &state_key, const m::event::idx &event_idx)
{ {
if(!apropos(data, event_idx)) // We have to ignore the since range here or Riot will forget or overwrite tags.
return true; //if(!apropos(data, event_idx))
// return true;
static const event::fetch::opts fopts static const event::fetch::opts fopts
{ {