aboutsummaryrefslogtreecommitdiff
path: root/lib/connection.h
diff options
context:
space:
mode:
authorAlexey Andreyev <aa13q@ya.ru>2019-07-14 03:54:19 +0300
committerAlexey Andreyev <aa13q@ya.ru>2019-07-27 13:33:27 +0300
commit2737dc00334ad3a56c1b311435dbe84453ee389e (patch)
treea2c53b90279728fa69cf5726ce8a1b39999a5b01 /lib/connection.h
parentf1546e894b2a7550bce3e8d84067968bf5cf7087 (diff)
downloadlibquotient-2737dc00334ad3a56c1b311435dbe84453ee389e.tar.gz
libquotient-2737dc00334ad3a56c1b311435dbe84453ee389e.zip
E2EE: introduce EncryptedEvent
Diffstat (limited to 'lib/connection.h')
-rw-r--r--lib/connection.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/connection.h b/lib/connection.h
index 11499a6e..199803d7 100644
--- a/lib/connection.h
+++ b/lib/connection.h
@@ -30,6 +30,10 @@
#include <functional>
+namespace QtOlm {
+ class Account;
+}
+
namespace QMatrixClient
{
class Room;
@@ -264,6 +268,7 @@ namespace QMatrixClient
QString userId() const;
QString deviceId() const;
QByteArray accessToken() const;
+ QtOlm::Account* olmAccount() const;
Q_INVOKABLE SyncJob* syncJob() const;
Q_INVOKABLE int millisToReconnect() const;