diff options
author | Konstantinos Sideris <sideris.konstantin@gmail.com> | 2018-03-12 22:23:26 +0200 |
---|---|---|
committer | Konstantinos Sideris <sideris.konstantin@gmail.com> | 2018-03-12 22:23:26 +0200 |
commit | 4659d0efc274f2a955b203ca5b00cf1dfc26d5fc (patch) | |
tree | de791031bf883a20932c878cd7a9a5d240dc3a49 /include/MatrixClient.h | |
parent | Update room name & avatar on new rooms (diff) | |
download | nheko-4659d0efc274f2a955b203ca5b00cf1dfc26d5fc.tar.xz |
Implement user registration with reCAPTCHA
fixes #264
Diffstat (limited to 'include/MatrixClient.h')
-rw-r--r-- | include/MatrixClient.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/include/MatrixClient.h b/include/MatrixClient.h index 46d946c7..69fa72bc 100644 --- a/include/MatrixClient.h +++ b/include/MatrixClient.h @@ -54,7 +54,8 @@ public: void login(const QString &username, const QString &password) noexcept; void registerUser(const QString &username, const QString &password, - const QString &server) noexcept; + const QString &server, + const QString &session = "") noexcept; void versions() noexcept; void fetchRoomAvatar(const QString &roomid, const QUrl &avatar_url); //! Download user's avatar. @@ -109,6 +110,10 @@ public slots: signals: void loginError(const QString &error); void registerError(const QString &error); + void registrationFlow(const QString &user, + const QString &pass, + const QString &server, + const QString &session); void versionError(const QString &error); void loggedOut(); |