diff options
author | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2017-03-25 14:33:01 +0900 |
---|---|---|
committer | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2017-03-25 17:21:02 +0900 |
commit | 2f57ea69098fee6a5f90ec35ebac89a26ef8efeb (patch) | |
tree | 3396002c787d8f3eb6f58dd54288df2b8004b8ab /connection.h | |
parent | 0e00f6f74041a5fec528d1511095ea4974150239 (diff) | |
download | libquotient-2f57ea69098fee6a5f90ec35ebac89a26ef8efeb.tar.gz libquotient-2f57ea69098fee6a5f90ec35ebac89a26ef8efeb.zip |
Stop sync upon successful logout
Diffstat (limited to 'connection.h')
-rw-r--r-- | connection.h | 1 |
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 */ |