From 2b7d8623306311cc3065eaa3f23c611f2dd74bda Mon Sep 17 00:00:00 2001 From: Jason Volk Date: Sat, 6 Jul 2019 05:55:11 -0700 Subject: [PATCH] modules/client/sync/rooms/state: Trim the initial crazyloaded state. --- modules/client/sync/rooms/state.cc | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/modules/client/sync/rooms/state.cc b/modules/client/sync/rooms/state.cc index fc51ec951..c480e2d20 100644 --- a/modules/client/sync/rooms/state.cc +++ b/modules/client/sync/rooms/state.cc @@ -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) {