diff --git a/src/matrix-types.c b/src/matrix-types.c index 6c946be..5e5284a 100644 --- a/src/matrix-types.c +++ b/src/matrix-types.c @@ -50,8 +50,7 @@ * @MATRIX_ERROR_FORBIDDEN: access was forbidden (e.g. due to a * missing/invalid token, or using a bad * password during login) - * @MATRIX_ERROR_UNKNOWN: an error unknown to the Matrix server the - * homeserver + * @MATRIX_ERROR_UNKNOWN: an error unknown to the Matrix homeserver * @MATRIX_ERROR_UNKNOWN_TOKEN: the token provided is not known for * the homeserver * @MATRIX_ERROR_NOT_JSON: illegal request, the content is not valid @@ -130,6 +129,7 @@ G_DEFINE_QUARK(matrix-error-quark, matrix_error); /** * MatrixPresence: + * @MATRIX_PRESENCE_UNKNOWN: user's presence is unknown * @MATRIX_PRESENCE_ONLINE: user is online * @MATRIX_PRESENCE_OFFLINE: user is offline * @MATRIX_PRESENCE_UNAVAILABLE: user is unavailable (i.e. busy) diff --git a/src/matrix-types.h b/src/matrix-types.h index 2695730..c34c778 100644 --- a/src/matrix-types.h +++ b/src/matrix-types.h @@ -65,6 +65,7 @@ typedef enum { } MatrixResizeMethod; typedef enum { + MATRIX_PRESENCE_UNKNOWN, MATRIX_PRESENCE_ONLINE, MATRIX_PRESENCE_OFFLINE, MATRIX_PRESENCE_UNAVAILABLE,