Update documentation of matrix_client_register_with_password()

This commit is contained in:
Gergely Polonkai 2016-01-22 15:13:47 +01:00
parent 283463810b
commit 372e989ee2

View File

@ -85,7 +85,15 @@ matrix_client_login_with_password(MatrixClient *client,
* @password: the password to use with the registration
* @error: a location for a #GError, or %NULL
*
* Register @username with the homeserver.
* Register @username with the homeserver as a normal user.
*
* Upon success, the user is registered and authenticated.
*
* Implementations of #MatrixClient must emit
* MatrixClient::login-finished when a response arrives.
*
* If you want to register a different kind of user, use
* matrix_api_register_account().
*/
void
matrix_client_register_with_password(MatrixClient *client,