Moderator Inbox Notifications

Yes I think it’s a bug. Here is the description for Watching:

You will be notified of every new post in every message, and a count of new replies will be shown.

I prefer to set my notification level to Watching and I would expect to see the group_message_summary notification when I do that (e.g. “6 messages in your moderators inbox”).

Here is the code that decides who receives a group summary notification:

It’s the notify_group_summary function that sends group_message_summary notifications. So currently, only group members with a notification level set to Tracking will receive it. I think we could modify the code like this:

if notification_level == TopicUser.notification_levels[:watching]
  create_notification(user, Notification.types[:private_message], post)
  notify_group_summary(user, post)
elsif notification_level == TopicUser.notification_levels[:tracking]
  if notified.include?(user)
    create_notification(user, Notification.types[:private_message], post)
  else
    notify_group_summary(user, post)
  end
end

Would that be the best way to fix this bug? Let me know if you have other ideas :slight_smile: