diff options
author | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2019-07-04 13:17:36 +0900 |
---|---|---|
committer | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2019-07-04 13:17:36 +0900 |
commit | fe82533860a327fbbaa0c980188ccd56d8463b1c (patch) | |
tree | 4593951a857b5ae044216cb1c932c9a312866bbf | |
parent | 6a6857b9d4dbf22402f2871494bdd06cdccdf366 (diff) | |
download | libquotient-fe82533860a327fbbaa0c980188ccd56d8463b1c.tar.gz libquotient-fe82533860a327fbbaa0c980188ccd56d8463b1c.zip |
Connection::token() is no more
Use Connection::accessToken() instead.
-rw-r--r-- | lib/connection.cpp | 5 | ||||
-rw-r--r-- | lib/connection.h | 2 |
2 files changed, 0 insertions, 7 deletions
diff --git a/lib/connection.cpp b/lib/connection.cpp index 783e12c0..cd02f6d7 100644 --- a/lib/connection.cpp +++ b/lib/connection.cpp @@ -973,11 +973,6 @@ QString Connection::deviceId() const return d->data->deviceId(); } -QString Connection::token() const -{ - return accessToken(); -} - QByteArray Connection::accessToken() const { return d->data->accessToken(); diff --git a/lib/connection.h b/lib/connection.h index f688c10b..eca3c5be 100644 --- a/lib/connection.h +++ b/lib/connection.h @@ -267,8 +267,6 @@ namespace QMatrixClient Q_INVOKABLE SyncJob* syncJob() const; Q_INVOKABLE int millisToReconnect() const; - [[deprecated("Use accessToken() instead")]] - Q_INVOKABLE QString token() const; Q_INVOKABLE void getTurnServers(); struct SupportedRoomVersion |