diff options
-rw-r--r-- | lib/connection.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/connection.h b/lib/connection.h index 2f1b0950..a1662449 100644 --- a/lib/connection.h +++ b/lib/connection.h @@ -166,12 +166,13 @@ namespace QMatrixClient User* user(); QString userId() const; QString deviceId() const; - /** @deprecated Use accessToken() instead. */ - Q_INVOKABLE QString token() const; QByteArray accessToken() const; Q_INVOKABLE SyncJob* syncJob() const; Q_INVOKABLE int millisToReconnect() const; + [[deprecated("Use accessToken() instead")]] + Q_INVOKABLE QString token() const; + /** * Call this before first sync to load from previously saved file. * |