mirror of
https://github.com/matrix-construct/construct
synced 2024-11-26 08:42:34 +01:00
modules/client/sync/rooms/state: Trim the initial crazyloaded state.
This commit is contained in:
parent
767e18791c
commit
2b7d862330
1 changed files with 0 additions and 19 deletions
|
@ -266,7 +266,6 @@ ircd::m::sync::room_state_phased_events(data &data)
|
|||
{
|
||||
ret = true;
|
||||
room_state_append(data, array, event, index(event));
|
||||
|
||||
data.room->get(std::nothrow, "m.room.member", at<"sender"_>(event), [&]
|
||||
(const m::event &event)
|
||||
{
|
||||
|
@ -298,24 +297,6 @@ ircd::m::sync::room_state_phased_events(data &data)
|
|||
room_state_append(data, array, event, index(event));
|
||||
});
|
||||
|
||||
data.room->get(std::nothrow, "m.room.join_rules", "", [&]
|
||||
(const m::event &event)
|
||||
{
|
||||
room_state_append(data, array, event, index(event));
|
||||
});
|
||||
|
||||
data.room->get(std::nothrow, "m.room.history_visibility", "", [&]
|
||||
(const m::event &event)
|
||||
{
|
||||
room_state_append(data, array, event, index(event));
|
||||
});
|
||||
|
||||
data.room->get(std::nothrow, "m.room.power_levels", "", [&]
|
||||
(const m::event &event)
|
||||
{
|
||||
room_state_append(data, array, event, index(event));
|
||||
});
|
||||
|
||||
data.room->get(std::nothrow, "m.room.member", data.user.user_id, [&]
|
||||
(const m::event &event)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue