aboutsummaryrefslogtreecommitdiff
path: root/lib/room.cpp
diff options
context:
space:
mode:
authorTobias Fella <fella@posteo.de>2021-11-16 23:23:26 +0100
committerTobias Fella <fella@posteo.de>2021-12-01 21:56:59 +0100
commit15e75b20d5bb9339a8b769b717db00fb5c16b050 (patch)
treeb50e53545c5369f60b07108ea37d35d175dcd942 /lib/room.cpp
parent06facdb1179e2e6789d7263541294fb427f649e5 (diff)
downloadlibquotient-15e75b20d5bb9339a8b769b717db00fb5c16b050.tar.gz
libquotient-15e75b20d5bb9339a8b769b717db00fb5c16b050.zip
Add function to decrypt notifications
Diffstat (limited to 'lib/room.cpp')
-rw-r--r--lib/room.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/room.cpp b/lib/room.cpp
index 963b9f88..d755f8eb 100644
--- a/lib/room.cpp
+++ b/lib/room.cpp
@@ -1599,7 +1599,6 @@ void Room::handleRoomKeyEvent(const RoomKeyEvent& roomKeyEvent,
if (auto encryptedEvent = d->timeline[i].viewAs<EncryptedEvent>()) {
auto decrypted = decryptMessage(*encryptedEvent);
if(decrypted) {
- qWarning() << "decrypted" << decrypted->fullJson();
auto oldEvent = d->timeline[i].replaceEvent(std::move(decrypted));
emit replacedEvent(d->timeline[i].event(), rawPtr(oldEvent));
}