mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
If a user always read all group messages, we will never update the
`first_pm_unread_at` column since the previous query will not return the
group_user. Instead, we should update `first_pm_unread_at` to the
current timestamp if the user has read everything.
Follow-up to 9b75d95fc6