From bdee2c768818a524bf4b425b81c17d3e9a1bd91c Mon Sep 17 00:00:00 2001 From: Green Sky Date: Fri, 29 Sep 2023 23:40:00 +0200 Subject: [PATCH] mark new synced msg as unread --- solanaceae/zox/ngc_hs.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/solanaceae/zox/ngc_hs.cpp b/solanaceae/zox/ngc_hs.cpp index ae626e5..3a76744 100644 --- a/solanaceae/zox/ngc_hs.cpp +++ b/solanaceae/zox/ngc_hs.cpp @@ -380,6 +380,8 @@ bool ZoxNGCHistorySync::onEvent(const Events::ZoxNGC_ngch_syncmsg& e) { reg.emplace(matching_e, sync_ts); reg.emplace(matching_e, sync_ts); // reactive? + reg.emplace(matching_e); + // TODO: resort //_rmm.resort({ContactGroupEphemeral{e.group_number}}); _rmm.throwEventConstruct(reg, matching_e);