aboutsummaryrefslogtreecommitdiff
path: root/lib/connection.h
diff options
context:
space:
mode:
authorTobias Fella <fella@posteo.de>2022-02-11 23:07:35 +0100
committerTobias Fella <fella@posteo.de>2022-02-11 23:07:35 +0100
commit148bb1256fb15c73c605c5301da2b9602f859660 (patch)
tree23746364a73e3e5dc3ba33bbf6d3e6e6aab5aa40 /lib/connection.h
parent6415d6fb194799870eb89cbaff4ba07939aa6ccb (diff)
downloadlibquotient-148bb1256fb15c73c605c5301da2b9602f859660.tar.gz
libquotient-148bb1256fb15c73c605c5301da2b9602f859660.zip
Implement more suggestions
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;