diff options
author | Konstantinos Sideris <sideris.konstantin@gmail.com> | 2017-12-10 23:59:50 +0200 |
---|---|---|
committer | Konstantinos Sideris <sideris.konstantin@gmail.com> | 2017-12-10 23:59:50 +0200 |
commit | ef0b0f68795786751b04615451d42dbd7b3d7a5d (patch) | |
tree | a04f4677032d054d803e0a67929fbfe4d46eb87a /include/MatrixClient.h | |
parent | Add gui option for joining rooms (#25) (diff) | |
download | nheko-ef0b0f68795786751b04615451d42dbd7b3d7a5d.tar.xz |
Add menu to invite users
Diffstat (limited to 'include/MatrixClient.h')
-rw-r--r-- | include/MatrixClient.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/MatrixClient.h b/include/MatrixClient.h index 397ba11d..ee493da6 100644 --- a/include/MatrixClient.h +++ b/include/MatrixClient.h @@ -60,6 +60,7 @@ public: void sendTypingNotification(const QString &roomid, int timeoutInMillis = 20000); void removeTypingNotification(const QString &roomid); void readEvent(const QString &room_id, const QString &event_id); + void inviteUser(const QString &room_id, const QString &user); QUrl getHomeServer() { return server_; }; int transactionId() { return txn_id_; }; @@ -84,6 +85,7 @@ signals: void versionError(const QString &error); void loggedOut(); + void invitedUser(const QString &room_id, const QString &user); void loginSuccess(const QString &userid, const QString &homeserver, const QString &token); void registerSuccess(const QString &userid, |