We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
You can mark a group of notifications as read all at once using the recipient and trigger(s) through the NotifyOn::Notification.mark_read_for method.
NotifyOn::Notification.mark_read_for
For example, say we have a @chat object that has many messages, and we want to mark them all read for the current_user. We can do this:
@chat
messages
current_user
NotifyOn::Notification.mark_read_for(current_user, @chat.messages)