aboutsummaryrefslogtreecommitdiff
path: root/lib/connection.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/connection.h')
-rw-r--r--lib/connection.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/connection.h b/lib/connection.h
index 8dec2a0c..13aa15c0 100644
--- a/lib/connection.h
+++ b/lib/connection.h
@@ -50,6 +50,7 @@ class LeaveRoomJob;
class Database;
class QOlmAccount;
+class QOlmInboundGroupSession;
using LoginFlow = GetLoginFlowsJob::LoginFlow;
@@ -315,6 +316,8 @@ public:
#ifdef Quotient_E2EE_ENABLED
QOlmAccount* olmAccount() const;
Database* database();
+ UnorderedMap<QPair<QString, QString>, QOlmInboundGroupSessionPtr> loadRoomMegolmSessions(Room* room);
+ void saveMegolmSession(Room* room, const QString& senderKey, QOlmInboundGroupSession* session);
#endif // Quotient_E2EE_ENABLED
Q_INVOKABLE Quotient::SyncJob* syncJob() const;
Q_INVOKABLE int millisToReconnect() const;