diff options
author | Alexey Andreyev <aa13q@ya.ru> | 2019-07-14 03:54:19 +0300 |
---|---|---|
committer | Alexey Andreyev <aa13q@ya.ru> | 2019-07-27 13:33:27 +0300 |
commit | 2737dc00334ad3a56c1b311435dbe84453ee389e (patch) | |
tree | a2c53b90279728fa69cf5726ce8a1b39999a5b01 /lib/encryptionmanager.cpp | |
parent | f1546e894b2a7550bce3e8d84067968bf5cf7087 (diff) | |
download | libquotient-2737dc00334ad3a56c1b311435dbe84453ee389e.tar.gz libquotient-2737dc00334ad3a56c1b311435dbe84453ee389e.zip |
E2EE: introduce EncryptedEvent
Diffstat (limited to 'lib/encryptionmanager.cpp')
-rw-r--r-- | lib/encryptionmanager.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/encryptionmanager.cpp b/lib/encryptionmanager.cpp index 08b68911..3533d791 100644 --- a/lib/encryptionmanager.cpp +++ b/lib/encryptionmanager.cpp @@ -194,6 +194,11 @@ QByteArray EncryptionManager::olmAccountPickle() return d->olmAccount->pickle(); // TODO: passphrase even with qtkeychain? } +QtOlm::Account* EncryptionManager::account() const +{ + return d->olmAccount.data(); +} + void EncryptionManager::Private::updateKeysToUpload() { for (auto it = targetOneTimeKeyCounts.cbegin(); it != targetOneTimeKeyCounts.cend(); ++it) |