mark new synced msg as unread

This commit is contained in:
Green Sky 2023-09-29 23:40:00 +02:00
parent 8bdc4f4ecf
commit bdee2c7688
No known key found for this signature in database

View File

@ -380,6 +380,8 @@ bool ZoxNGCHistorySync::onEvent(const Events::ZoxNGC_ngch_syncmsg& e) {
reg.emplace<Message::Components::TimestampWritten>(matching_e, sync_ts);
reg.emplace<Message::Components::Timestamp>(matching_e, sync_ts); // reactive?
reg.emplace<Message::Components::TagUnread>(matching_e);
// TODO: resort
//_rmm.resort({ContactGroupEphemeral{e.group_number}});
_rmm.throwEventConstruct(reg, matching_e);