aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKitsune Ral <Kitsune-Ral@users.sf.net>2019-07-04 13:17:36 +0900
committerKitsune Ral <Kitsune-Ral@users.sf.net>2019-07-04 13:17:36 +0900
commitfe82533860a327fbbaa0c980188ccd56d8463b1c (patch)
tree4593951a857b5ae044216cb1c932c9a312866bbf
parent6a6857b9d4dbf22402f2871494bdd06cdccdf366 (diff)
downloadlibquotient-fe82533860a327fbbaa0c980188ccd56d8463b1c.tar.gz
libquotient-fe82533860a327fbbaa0c980188ccd56d8463b1c.zip
Connection::token() is no more
Use Connection::accessToken() instead.
-rw-r--r--lib/connection.cpp5
-rw-r--r--lib/connection.h2
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