1 files changed, 2 insertions, 0 deletions
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<mtx::events::account_data::FullyRead>>(&evt)) {
nhlog::db()->debug("Fully read: {}", fr->content.event_id);
+ emit removeNotification(QString::fromStdString(room.first),
+ QString::fromStdString(fr->content.event_id));
}
}
}
|