diff options
-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); |