aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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