aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/connection.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/connection.cpp b/lib/connection.cpp
index 494db170..d652c113 100644
--- a/lib/connection.cpp
+++ b/lib/connection.cpp
@@ -793,13 +793,13 @@ void Connection::Private::consumeToDeviceEvents(Events&& toDeviceEvents)
return;
}
- visit(*sessionDecryptMessage(event),
- [this, senderKey = event.senderKey()](const RoomKeyEvent& roomKeyEvent) {
+ visit(*sessionDecryptMessage(ee),
+ [this, senderKey = ee.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()
+ qCDebug(E2EE)
+ << "Encrypted event room id" << roomKeyEvent.roomId()
<< "is not found at the connection" << q->objectName();
}
},