mirror of
https://github.com/discourse/discourse.git
synced 2025-03-06 11:19:51 +00: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 9b75d95fc616ea51181d622182b0f74dea8694ac