diff options
Diffstat (limited to 'connection.h')
-rw-r--r-- | connection.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/connection.h b/connection.h index d5cf4883..fed0b1c4 100644 --- a/connection.h +++ b/connection.h @@ -52,7 +52,7 @@ namespace QMatrixClient Q_INVOKABLE virtual void disconnectFromServer(); Q_INVOKABLE virtual void logout(); - Q_INVOKABLE virtual SyncJob* sync(int timeout=-1); + Q_INVOKABLE virtual void sync(int timeout=-1); Q_INVOKABLE virtual void postMessage( Room* room, QString type, QString message ); Q_INVOKABLE virtual PostReceiptJob* postReceipt( Room* room, Event* event ); Q_INVOKABLE virtual void joinRoom( QString roomAlias ); |