aboutsummaryrefslogtreecommitdiff
path: root/lib/connection.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/connection.cpp')
-rw-r--r--lib/connection.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/connection.cpp b/lib/connection.cpp
index 89b80909..dbc6261d 100644
--- a/lib/connection.cpp
+++ b/lib/connection.cpp
@@ -2068,7 +2068,7 @@ QString Connection::e2eeDataDir() const
#ifdef Quotient_E2EE_ENABLED
QJsonObject Connection::decryptNotification(const QJsonObject &notification)
{
- auto room = provideRoom(notification["room_id"].toString());
+ auto room = this->room(notification["room_id"].toString());
auto event = makeEvent<EncryptedEvent>(notification["event"].toObject());
auto decrypted = room->decryptMessage(*event);
if(!decrypted) {