diff options
-rw-r--r-- | connection.cpp | 2 | ||||
-rw-r--r-- | connection.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/connection.cpp b/connection.cpp index 9169480e..d72e10ed 100644 --- a/connection.cpp +++ b/connection.cpp @@ -385,7 +385,7 @@ QString Connection::token() const return accessToken(); } -QString Connection::accessToken() const +QByteArray Connection::accessToken() const { return d->data->accessToken(); } diff --git a/connection.h b/connection.h index ecebb2e7..eccde170 100644 --- a/connection.h +++ b/connection.h @@ -86,7 +86,7 @@ namespace QMatrixClient Q_INVOKABLE QString deviceId() const; /** @deprecated Use accessToken() instead. */ Q_INVOKABLE QString token() const; - Q_INVOKABLE QString accessToken() const; + Q_INVOKABLE QByteArray accessToken() const; Q_INVOKABLE SyncJob* syncJob() const; Q_INVOKABLE int millisToReconnect() const; |