forgot to throw update on read

This commit is contained in:
2024-03-01 12:18:06 +01:00
parent 0e0e81720b
commit 5bf4640d61
3 changed files with 11 additions and 2 deletions

View File

@ -389,6 +389,9 @@ float ChatGui4::render(float time_delta) {
msg_reg.emplace_or_replace<Message::Components::Read>(e, ts_now);
msg_reg.remove<Message::Components::TagUnread>(e);
msg_reg.emplace_or_replace<Components::UnreadFade>(e, 1.f);
// we remove the unread tag here
_rmm.throwEventUpdate(msg_reg, e);
}
// track view