aboutsummaryrefslogtreecommitdiff
path: root/lib/connection.cpp
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.cpp
parentf1546e894b2a7550bce3e8d84067968bf5cf7087 (diff)
downloadlibquotient-2737dc00334ad3a56c1b311435dbe84453ee389e.tar.gz
libquotient-2737dc00334ad3a56c1b311435dbe84453ee389e.zip
E2EE: introduce EncryptedEvent
Diffstat (limited to 'lib/connection.cpp')
-rw-r--r--lib/connection.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/connection.cpp b/lib/connection.cpp
index 1bd2e32e..b9ab5147 100644
--- a/lib/connection.cpp
+++ b/lib/connection.cpp
@@ -979,6 +979,11 @@ QByteArray Connection::accessToken() const
return d->data->accessToken();
}
+QtOlm::Account* Connection::olmAccount() const
+{
+ return d->encryptionManager->account();
+}
+
SyncJob* Connection::syncJob() const
{
return d->syncJob;