diff options
author | Tobias Fella <fella@posteo.de> | 2021-06-02 19:39:34 +0200 |
---|---|---|
committer | Tobias Fella <fella@posteo.de> | 2021-12-01 21:56:11 +0100 |
commit | 3e51359d1b7891b9a6e4611662c753653c3618bf (patch) | |
tree | 642c3f385ad0c7aadfecafde621af67a9ed03121 | |
parent | 40d6616ef0c4a9be20d5fe5e50f4b9959d0ab3d1 (diff) | |
download | libquotient-3e51359d1b7891b9a6e4611662c753653c3618bf.tar.gz libquotient-3e51359d1b7891b9a6e4611662c753653c3618bf.zip |
Things
-rw-r--r-- | lib/connection.cpp | 1 | ||||
-rw-r--r-- | lib/encryptionmanager.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/lib/connection.cpp b/lib/connection.cpp index 2d040e8a..494db170 100644 --- a/lib/connection.cpp +++ b/lib/connection.cpp @@ -796,6 +796,7 @@ void Connection::Private::consumeToDeviceEvents(Events&& toDeviceEvents) visit(*sessionDecryptMessage(event), [this, senderKey = event.senderKey()](const RoomKeyEvent& roomKeyEvent) { if (auto* detectedRoom = q->room(roomKeyEvent.roomId())) { + qWarning() << "IT'S A ROOMKEY EVENT, RUUUUUUUUUUUUUUUUUN"; detectedRoom->handleRoomKeyEvent(roomKeyEvent, senderKey); } else { qCDebug(E2EE) << "Encrypted event room id" << roomKeyEvent.roomId() diff --git a/lib/encryptionmanager.h b/lib/encryptionmanager.h index 17f4f853..db9bff07 100644 --- a/lib/encryptionmanager.h +++ b/lib/encryptionmanager.h @@ -19,6 +19,7 @@ class EncryptionManager : public QObject { public: explicit EncryptionManager(QObject* parent = nullptr); ~EncryptionManager(); + QString sessionDecryptMessage(const QJsonObject& personalCipherObject, const QByteArray& senderKey, std::unique_ptr<QOlmAccount>& account); |