aboutsummaryrefslogtreecommitdiff
path: root/connection.h
diff options
context:
space:
mode:
Diffstat (limited to 'connection.h')
-rw-r--r--connection.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/connection.h b/connection.h
index 2a107b43..76e4f3c2 100644
--- a/connection.h
+++ b/connection.h
@@ -100,7 +100,7 @@ namespace QMatrixClient
Q_INVOKABLE User* user(const QString& userId);
Q_INVOKABLE User* user();
Q_INVOKABLE QString userId() const;
- Q_INVOKABLE const QString& deviceId() const;
+ Q_INVOKABLE QString deviceId() const;
/** @deprecated Use accessToken() instead. */
Q_INVOKABLE QString token() const;
Q_INVOKABLE QString accessToken() const;