diff options
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 1be15e56..35f05c31 100644 --- a/include/MatrixClient.h +++ b/include/MatrixClient.h @@ -91,6 +91,7 @@ public: void redactEvent(const QString &room_id, const QString &event_id); void inviteUser(const QString &room_id, const QString &user); void createRoom(const mtx::requests::CreateRoom &request); + void getNotifications() noexcept; QUrl getHomeServer() { return server_; }; int transactionId() { return txn_id_; }; @@ -178,6 +179,7 @@ signals: void redactionCompleted(const QString &room_id, const QString &event_id); void invalidToken(); void syncError(const QString &error); + void notificationsRetrieved(const mtx::responses::Notifications ¬ifications); private: QNetworkReply *makeUploadRequest(QSharedPointer<QIODevice> iodev); |