mirror of
https://github.com/matrix-construct/construct
synced 2024-11-29 18:22:50 +01:00
ircd:Ⓜ️ Remove the is_state mistake.
This commit is contained in:
parent
2692a22f62
commit
0565301560
2 changed files with 0 additions and 21 deletions
|
@ -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>,
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue