mirror of
https://github.com/matrix-construct/construct
synced 2024-09-26 18:38:52 +02:00
ircd:Ⓜ️ Additional thread related properties for filter schema.
This commit is contained in:
parent
08753dc254
commit
603a6a3f99
3 changed files with 18 additions and 2 deletions
|
@ -54,13 +54,18 @@ struct ircd::m::room_event_filter
|
|||
json::property<name::rooms, json::array>,
|
||||
json::property<name::senders, json::array>,
|
||||
json::property<name::labels, json::array>,
|
||||
json::property<name::relation_types, json::array>,
|
||||
json::property<name::relation_senders, json::array>,
|
||||
json::property<name::not_types, json::array>,
|
||||
json::property<name::not_rooms, json::array>,
|
||||
json::property<name::not_senders, json::array>,
|
||||
json::property<name::not_labels, json::array>,
|
||||
json::property<name::not_relation_types, json::array>,
|
||||
json::property<name::not_relation_senders, json::array>,
|
||||
json::property<name::contains_url, bool>,
|
||||
json::property<name::lazy_load_members, bool>,
|
||||
json::property<name::include_redundant_members, bool>
|
||||
json::property<name::include_redundant_members, bool>,
|
||||
json::property<name::unread_thread_notifications, bool>
|
||||
>
|
||||
{
|
||||
using super_type::tuple;
|
||||
|
@ -84,7 +89,8 @@ struct ircd::m::state_filter
|
|||
json::property<name::not_labels, json::array>,
|
||||
json::property<name::contains_url, bool>,
|
||||
json::property<name::lazy_load_members, bool>,
|
||||
json::property<name::include_redundant_members, bool>
|
||||
json::property<name::include_redundant_members, bool>,
|
||||
json::property<name::unread_thread_notifications, bool>
|
||||
>
|
||||
{
|
||||
using super_type::tuple;
|
||||
|
|
|
@ -97,6 +97,11 @@ struct ircd::m::name
|
|||
static constexpr const char *const contains_url {"contains_url"};
|
||||
static constexpr const char *const lazy_load_members {"lazy_load_members"};
|
||||
static constexpr const char *const include_redundant_members {"include_redundant_members"};
|
||||
static constexpr const char *const relation_types {"relation_types"};
|
||||
static constexpr const char *const not_relation_types {"not_relation_types"};
|
||||
static constexpr const char *const relation_senders {"relation_senders"};
|
||||
static constexpr const char *const not_relation_senders {"not_relation_senders"};
|
||||
static constexpr const char *const unread_thread_notifications {"unread_thread_notifications"};
|
||||
|
||||
static constexpr const char *const edu_type {"edu_type"};
|
||||
|
||||
|
|
|
@ -76,6 +76,11 @@ constexpr const char *const ircd::m::name::limit;
|
|||
constexpr const char *const ircd::m::name::contains_url;
|
||||
constexpr const char *const ircd::m::name::lazy_load_members;
|
||||
constexpr const char *const ircd::m::name::include_redundant_members;
|
||||
constexpr const char *const ircd::m::name::relation_types;
|
||||
constexpr const char *const ircd::m::name::not_relation_types;
|
||||
constexpr const char *const ircd::m::name::relation_senders;
|
||||
constexpr const char *const ircd::m::name::not_relation_senders;
|
||||
constexpr const char *const ircd::m::name::unread_thread_notifications;
|
||||
|
||||
constexpr const char *const ircd::m::name::edu_type;
|
||||
|
||||
|
|
Loading…
Reference in a new issue