From 283463810b2f446a220783ca604cc59f8fe2b4a1 Mon Sep 17 00:00:00 2001 From: Gergely Polonkai Date: Fri, 22 Jan 2016 12:55:49 +0100 Subject: [PATCH] Documentation fix for MatrixAPI.register_account --- src/matrix-api.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/matrix-api.c b/src/matrix-api.c index 9120ff9..da3cbf2 100644 --- a/src/matrix-api.c +++ b/src/matrix-api.c @@ -2449,8 +2449,11 @@ matrix_api_set_display_name(MatrixAPI *api, * @password: the desired password for the account * @error: return location for a #GError, or %NULL * - * Attempt to register with type @login_type. Implementations of this - * method must set the token property on a successful login. + * Attempt to register an account with the homeserver using @username + * and @password. + * + * Implementations of this method must set the token property on a + * successful login. * * If @password is %NULL, this function returns immediately, and fills * @error with %MATRIX_API_ERROR_INCOMPLETE.