From 2fc62d38e8f748d1a78baca8b6f2df40e7cfa1a9 Mon Sep 17 00:00:00 2001 From: Tobias Fella Date: Sun, 30 Jan 2022 21:20:00 +0100 Subject: Use room() instead of provideRoom() --- lib/connection.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ¬ification) { - auto room = provideRoom(notification["room_id"].toString()); + auto room = this->room(notification["room_id"].toString()); auto event = makeEvent(notification["event"].toObject()); auto decrypted = room->decryptMessage(*event); if(!decrypted) { -- cgit v1.2.3