mark new synced msg as unread
This commit is contained in:
parent
8bdc4f4ecf
commit
bdee2c7688
@ -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::TimestampWritten>(matching_e, sync_ts);
|
||||||
reg.emplace<Message::Components::Timestamp>(matching_e, sync_ts); // reactive?
|
reg.emplace<Message::Components::Timestamp>(matching_e, sync_ts); // reactive?
|
||||||
|
|
||||||
|
reg.emplace<Message::Components::TagUnread>(matching_e);
|
||||||
|
|
||||||
// TODO: resort
|
// TODO: resort
|
||||||
//_rmm.resort({ContactGroupEphemeral{e.group_number}});
|
//_rmm.resort({ContactGroupEphemeral{e.group_number}});
|
||||||
_rmm.throwEventConstruct(reg, matching_e);
|
_rmm.throwEventConstruct(reg, matching_e);
|
||||||
|
Loading…
Reference in New Issue
Block a user