MarkAsRead after agent send so lastViewed advances

Fixkamo-internal
Shipped
April 25, 2026 at 11:47 PM UTC
Author
kamo
Commit
82fed0d

On support tickets, both visitor and agent messages are stored under the same systemMember, so the unread-count query is member-agnostic and relies entirely on lastViewed. If the agent doesn't markAsRead after sending, their own reply ends up counted as a new visitor message in the list-row badge. Call markAsRead on a successful send.

All changes

Like what you see shipping?

Every one of these updates lands in your workspace automatically. Start free and watch it grow week after week.

Start Free ForeverView Pricing