From cfb13f6d06b230c0cd307976a37bab2a125392d0 Mon Sep 17 00:00:00 2001 From: Gergely Polonkai Date: Sun, 24 Jan 2016 21:25:48 +0100 Subject: [PATCH] Add MATRIX_API_PRESENCE_UNKNOWN --- src/matrix-types.c | 4 ++-- src/matrix-types.h | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) 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,