mirror of
https://github.com/matrix-construct/construct
synced 2024-12-26 15:33:54 +01:00
modules/client/sync/rooms/account_data: Arrange room tags in the initial phase.
This commit is contained in:
parent
25d153d64c
commit
31bbc6b1b4
1 changed files with 7 additions and 2 deletions
|
@ -33,7 +33,10 @@ ircd::m::sync::room_account_data
|
||||||
{
|
{
|
||||||
"rooms.account_data",
|
"rooms.account_data",
|
||||||
room_account_data_polylog,
|
room_account_data_polylog,
|
||||||
room_account_data_linear
|
room_account_data_linear,
|
||||||
|
{
|
||||||
|
{ "initial", true }
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
bool
|
bool
|
||||||
|
@ -202,7 +205,9 @@ ircd::m::sync::room_account_data_polylog(data &data)
|
||||||
};
|
};
|
||||||
|
|
||||||
bool ret{false};
|
bool ret{false};
|
||||||
ret |= room_account_data_polylog_events(data);
|
if(!data.phased || int64_t(data.range.first) > 0L)
|
||||||
|
ret |= room_account_data_polylog_events(data);
|
||||||
|
|
||||||
ret |= room_account_data_polylog_tags(data);
|
ret |= room_account_data_polylog_tags(data);
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue