From 593c241661148dfd80854d3e156d9a4ee60d5ab4 Mon Sep 17 00:00:00 2001 From: Kitsune Ral Date: Fri, 19 Jun 2020 17:56:56 +0200 Subject: Fix FTBFS and warnings with E2EE switched on --- lib/room.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/room.cpp') diff --git a/lib/room.cpp b/lib/room.cpp index 22ec1c82..b83d805c 100644 --- a/lib/room.cpp +++ b/lib/room.cpp @@ -1263,7 +1263,7 @@ RoomEventPtr Room::decryptMessage(const EncryptedEvent& encryptedEvent) QString decrypted = d->groupSessionDecryptMessage( encryptedEvent.ciphertext(), encryptedEvent.senderKey(), encryptedEvent.sessionId(), encryptedEvent.id(), - encryptedEvent.timestamp()); + encryptedEvent.originTimestamp()); if (decrypted.isEmpty()) { return {}; } -- cgit v1.2.3