diff options
Diffstat (limited to 'lib/connection.h')
-rw-r--r-- | lib/connection.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/connection.h b/lib/connection.h index ef6cc156..8d65f0e7 100644 --- a/lib/connection.h +++ b/lib/connection.h @@ -32,6 +32,11 @@ #include <functional> +namespace QtOlm +{ +class Account; +} + namespace QMatrixClient { class Room; @@ -274,6 +279,7 @@ public: QString userId() const; QString deviceId() const; QByteArray accessToken() const; + QtOlm::Account* olmAccount() const; Q_INVOKABLE SyncJob* syncJob() const; Q_INVOKABLE int millisToReconnect() const; |