aboutsummaryrefslogtreecommitdiff
path: root/connection.h
diff options
context:
space:
mode:
Diffstat (limited to 'connection.h')
-rw-r--r--connection.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/connection.h b/connection.h
index 70a2eeaa..a00afc91 100644
--- a/connection.h
+++ b/connection.h
@@ -54,6 +54,7 @@ namespace QMatrixClient
Q_INVOKABLE virtual void logout();
Q_INVOKABLE virtual void sync(int timeout=-1);
+ Q_INVOKABLE virtual void stopSync();
/** @deprecated Use callApi<PostMessageJob>() or Room::postMessage() instead */
Q_INVOKABLE virtual void postMessage( Room* room, QString type, QString message );
/** @deprecated Use callApi<PostReceiptJob>() or Room::postReceipt() instead */