aboutsummaryrefslogtreecommitdiff
path: root/lib/connection.h
diff options
context:
space:
mode:
authorKitsune Ral <Kitsune-Ral@users.sf.net>2020-03-13 12:07:28 +0100
committerGitHub <noreply@github.com>2020-03-13 12:07:28 +0100
commit301d29e8db272938b0977af5db872c80f89fd708 (patch)
tree4da15b959ed522db941237826ea6aa4539f1773c /lib/connection.h
parentef81c79c4e7d24d63d1520ddefef347c11052235 (diff)
parent56d9a0addaabf2cec78e1c82a9846997a3669736 (diff)
downloadlibquotient-301d29e8db272938b0977af5db872c80f89fd708.tar.gz
libquotient-301d29e8db272938b0977af5db872c80f89fd708.zip
Merge pull request #346 from quotient-im/aa13q-e2ee-encrypted-msg
E2EE: implement receiving of the messages
Diffstat (limited to 'lib/connection.h')
-rw-r--r--lib/connection.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/connection.h b/lib/connection.h
index e4109fd4..b57f0ca8 100644
--- a/lib/connection.h
+++ b/lib/connection.h
@@ -304,7 +304,9 @@ public:
QString userId() const;
QString deviceId() const;
QByteArray accessToken() const;
+#ifdef Quotient_E2EE_ENABLED
QtOlm::Account* olmAccount() const;
+#endif // Quotient_E2EE_ENABLED
Q_INVOKABLE Quotient::SyncJob* syncJob() const;
Q_INVOKABLE int millisToReconnect() const;