aboutsummaryrefslogtreecommitdiff
path: root/lib/connection.h
diff options
context:
space:
mode:
authorTobias Fella <fella@posteo.de>2021-12-10 16:10:10 +0100
committerTobias Fella <fella@posteo.de>2021-12-10 16:10:31 +0100
commitb4cc38fc7c2c63d8122106a2451aec2c60176a4b (patch)
treea5c18272ce47b7aa08f96e4f8bdeebb7b8a7ea54 /lib/connection.h
parent6cec450f1d749936bd51a1471ac0ed74f633ef66 (diff)
downloadlibquotient-b4cc38fc7c2c63d8122106a2451aec2c60176a4b.tar.gz
libquotient-b4cc38fc7c2c63d8122106a2451aec2c60176a4b.zip
Use individual databases for each connection
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 3a12ec39..93ee496e 100644
--- a/lib/connection.h
+++ b/lib/connection.h
@@ -47,6 +47,7 @@ class DownloadFileJob;
class SendToDeviceJob;
class SendMessageJob;
class LeaveRoomJob;
+class Database;
class QOlmAccount;
@@ -313,6 +314,7 @@ public:
bool isLoggedIn() const;
#ifdef Quotient_E2EE_ENABLED
QOlmAccount* olmAccount() const;
+ Database* database();
#endif // Quotient_E2EE_ENABLED
Q_INVOKABLE Quotient::SyncJob* syncJob() const;
Q_INVOKABLE int millisToReconnect() const;