aboutsummaryrefslogtreecommitdiff
path: root/lib/connection.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/connection.h')
-rw-r--r--lib/connection.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/connection.h b/lib/connection.h
index 2ff27ea6..018c0459 100644
--- a/lib/connection.h
+++ b/lib/connection.h
@@ -96,9 +96,6 @@ namespace QMatrixClient
class Connection: public QObject {
Q_OBJECT
- /** Whether or not the rooms state should be cached locally
- * \sa loadState(), saveState()
- */
Q_PROPERTY(User* localUser READ user NOTIFY stateChanged)
Q_PROPERTY(QString localUserId READ userId NOTIFY stateChanged)
Q_PROPERTY(QString deviceId READ deviceId NOTIFY stateChanged)
@@ -341,6 +338,9 @@ namespace QMatrixClient
*/
QDir stateCacheDir() const;
+ /** Whether or not the rooms state should be cached locally
+ * \sa loadState(), saveState()
+ */
bool cacheState() const;
void setCacheState(bool newValue);