From 05653015607b7f8842c771cea2076aa8e6e12404 Mon Sep 17 00:00:00 2001 From: Jason Volk Date: Tue, 12 Dec 2017 13:20:45 -0700 Subject: [PATCH] ircd::m: Remove the is_state mistake. --- include/ircd/m/event.h | 2 -- modules/db/events.cc | 19 ------------------- 2 files changed, 21 deletions(-) diff --git a/include/ircd/m/event.h b/include/ircd/m/event.h index d62f514e4..9369297b4 100644 --- a/include/ircd/m/event.h +++ b/include/ircd/m/event.h @@ -64,7 +64,6 @@ namespace ircd::m::name constexpr const char *const depth {"depth"}; constexpr const char *const event_id {"event_id"}; constexpr const char *const hashes {"hashes"}; - constexpr const char *const is_state {"is_state"}; constexpr const char *const membership {"membership"}; constexpr const char *const origin {"origin"}; constexpr const char *const origin_server_ts {"origin_server_ts"}; @@ -94,7 +93,6 @@ struct ircd::m::event json::property, json::property, json::property, - json::property, json::property, json::property, json::property, diff --git a/modules/db/events.cc b/modules/db/events.cc index 73ee2c150..ade086b53 100644 --- a/modules/db/events.cc +++ b/modules/db/events.cc @@ -169,24 +169,6 @@ const database::descriptor events_state_key_descriptor } }; -const database::descriptor events_is_state_descriptor -{ - // name - "is_state", - - // explanation - R"(### protocol note: - - ### developer note: - key is event_id - )", - - // typing (key, value) - { - typeid(string_view), typeid(bool) - } -}; - const database::descriptor events_origin_descriptor { // name @@ -594,7 +576,6 @@ const database::description events_description events_room_id_descriptor, events_sender_descriptor, events_state_key_descriptor, - events_is_state_descriptor, events_origin_descriptor, events_origin_server_ts_descriptor, events_unsigned_descriptor,