aboutsummaryrefslogtreecommitdiff
path: root/lib/olm/qolmaccount.h
diff options
context:
space:
mode:
authorAlexey Andreyev <aa13q@ya.ru>2021-01-26 04:39:04 +0300
committerTobias Fella <fella@posteo.de>2021-12-01 21:34:52 +0100
commit799008ddbe2414ca0bce060a4d7f6a77c04c8d10 (patch)
treebbd86f9fc4cb1e23d97063e0b0ace07f10cf05a9 /lib/olm/qolmaccount.h
parent987d399bc9ce628c376d505e3ebb78ae703d7c68 (diff)
downloadlibquotient-799008ddbe2414ca0bce060a4d7f6a77c04c8d10.tar.gz
libquotient-799008ddbe2414ca0bce060a4d7f6a77c04c8d10.zip
E2EE: Introduce session (WiP)
Diffstat (limited to 'lib/olm/qolmaccount.h')
-rw-r--r--lib/olm/qolmaccount.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/olm/qolmaccount.h b/lib/olm/qolmaccount.h
index 3b55212d..3260ca71 100644
--- a/lib/olm/qolmaccount.h
+++ b/lib/olm/qolmaccount.h
@@ -63,6 +63,10 @@ public:
QByteArray signOneTimeKey(const QString &key) const;
SignedOneTimeKey signedOneTimeKey(const QByteArray &key, const QString &signature) const;
+ OlmAccount *data();
+
+ // HACK do not use directly
+ QOlmAccount(OlmAccount *account);
private:
OlmAccount *m_account = nullptr;
QString m_userId;