diff --git a/src/controller.cpp b/src/controller.cpp index c077c22b8..1fc017a4e 100644 --- a/src/controller.cpp +++ b/src/controller.cpp @@ -144,7 +144,6 @@ void Controller::handleNotifications(QPointer connection) for (const auto &n : notifications) { const auto notification = n.toObject(); if (notification["read"].toBool()) { - oldNotifications.removeOne(notification["event"].toObject()["event_id"].toString()); continue; } if (oldNotifications.contains(notification["event"].toObject()["event_id"].toString())) {