From 9b25ef3c0d3b8399c133926fe4b1aa317998d2d2 Mon Sep 17 00:00:00 2001 From: Nicolas Werner Date: Sun, 19 Dec 2021 09:34:50 +0100 Subject: Set notification category --- src/Cache.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/Cache.cpp') diff --git a/src/Cache.cpp b/src/Cache.cpp index f22afc7f..dd26157c 100644 --- a/src/Cache.cpp +++ b/src/Cache.cpp @@ -1527,6 +1527,8 @@ Cache::saveState(const mtx::responses::Sync &res) if (auto fr = std::get_if< mtx::events::AccountDataEvent>(&evt)) { nhlog::db()->debug("Fully read: {}", fr->content.event_id); + emit removeNotification(QString::fromStdString(room.first), + QString::fromStdString(fr->content.event_id)); } } } -- cgit 1.5.1