0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-10-01 21:28:53 +02:00

modules/client/sync/rooms/account_data: Arrange room tags in the initial phase.

This commit is contained in:
Jason Volk 2019-04-16 00:49:28 -07:00
parent 25d153d64c
commit 31bbc6b1b4

View file

@ -33,7 +33,10 @@ ircd::m::sync::room_account_data
{
"rooms.account_data",
room_account_data_polylog,
room_account_data_linear
room_account_data_linear,
{
{ "initial", true }
}
};
bool
@ -202,7 +205,9 @@ ircd::m::sync::room_account_data_polylog(data &data)
};
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);
return ret;
}