From 1ce9d98cc3957af5a81f6672f3fb86a4dd170ed9 Mon Sep 17 00:00:00 2001 From: Carl Schwan Date: Mon, 24 May 2021 00:40:30 +0200 Subject: Uncomment some stuff --- lib/connection.cpp | 8 ++++---- 1 file 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(); } }, -- cgit v1.2.3