Add the MatrixAPIAccountKind type
This commit is contained in:
@@ -214,6 +214,16 @@ G_DEFINE_QUARK(matrix-api-error-quark, matrix_api_error);
|
||||
* Condition types for pushers.
|
||||
*/
|
||||
|
||||
/**
|
||||
* MatrixAPIAccountKind:
|
||||
* @MATRIX_API_ACCOUNT_KIND_DEFAULT: use the server default (usually
|
||||
* %MATRIX_API_ACCOUNT_KIND_USER)
|
||||
* @MATRIX_API_ACCOUNT_KIND_USER: normal user
|
||||
* @MATRIX_API_ACCOUNT_KIND_GUEST: guest user
|
||||
*
|
||||
* User account types.
|
||||
*/
|
||||
|
||||
/**
|
||||
* MatrixAPIEventDirection:
|
||||
* @MATRIX_API_EVENT_DIRECTION_FORWARD: List events after the
|
||||
|
@@ -107,6 +107,12 @@ typedef enum {
|
||||
MATRIX_API_PUSHER_CONDITION_KIND_ROOM_MEMBER_COUNT
|
||||
} MatrixAPIPusherConditionKind;
|
||||
|
||||
typedef enum {
|
||||
MATRIX_API_ACCOUNT_KIND_DEFAULT,
|
||||
MATRIX_API_ACCOUNT_KIND_USER,
|
||||
MATRIX_API_ACCOUNT_KIND_GUEST
|
||||
} MatrixAPIAccountKind;
|
||||
|
||||
typedef struct _MatrixAPIFilterRules MatrixAPIFilterRules;
|
||||
|
||||
GType matrix_api_filter_rules_get_type(void);
|
||||
|
Reference in New Issue
Block a user