0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-26 00:32:35 +01:00

ircd:Ⓜ️ Remove the is_state mistake.

This commit is contained in:
Jason Volk 2017-12-12 13:20:45 -07:00
parent 2692a22f62
commit 0565301560
2 changed files with 0 additions and 21 deletions

View file

@ -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<name::depth, int64_t>,
json::property<name::event_id, json::string>,
json::property<name::hashes, json::object>,
json::property<name::is_state, bool>,
json::property<name::membership, json::string>,
json::property<name::origin, json::string>,
json::property<name::origin_server_ts, time_t>,

View file

@ -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,