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:
parent
f702520044
commit
6982fa2dac
1 changed files with 3 additions and 2 deletions
|
@ -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
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue