diff options
Diffstat (limited to 'jobs/postmessagejob.h')
-rw-r--r-- | jobs/postmessagejob.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/jobs/postmessagejob.h b/jobs/postmessagejob.h index 1917ef25..73d72020 100644 --- a/jobs/postmessagejob.h +++ b/jobs/postmessagejob.h @@ -26,7 +26,6 @@ namespace QMatrixClient class Room; class PostMessageJob: public BaseJob { - Q_OBJECT public: PostMessageJob(ConnectionData* connection, Room* room, QString type, QString message); virtual ~PostMessageJob(); @@ -36,7 +35,7 @@ namespace QMatrixClient protected: QString apiPath() const override; QJsonObject data() const override; - void parseJson(const QJsonDocument& data) override; + Status parseJson(const QJsonDocument& data) override; private: class Private; |