diff options
-rw-r--r-- | lib/connection.cpp | 2 |
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 ¬ification) { - 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) { |