aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--connection.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/connection.h b/connection.h
index 7ca1ccd6..08184d0d 100644
--- a/connection.h
+++ b/connection.h
@@ -51,6 +51,8 @@ namespace QMatrixClient
Q_INVOKABLE virtual void connectWithToken(const QString& userId,
const QString& token);
Q_INVOKABLE virtual void reconnect();
+ /** @deprecated Use stopSync() instead */
+ Q_INVOKABLE virtual void disconnectFromServer() { stopSync(); }
Q_INVOKABLE virtual void logout();
Q_INVOKABLE void sync(int timeout = -1);