Notification Rule filter by type
Currently we can add custom notification rules that filter my matching the messages to a RegEx, or plain text pattern. We can also choose whether to filter by if a message is a notice or not a notice.
But, the notification rules does not allow me to filter by type. What I want to be able to do is have a notification set for all messages and emotes, which are both PRIVMSG messages. I do not want to match to MODE, KICK, PART, JOIN, QUIT messages.
Can we add a feature that optionally lets me choose which type of message I want to be notified of?
I'll also add that the current built-in notifications are "Nick mentions," "Private messages," "Private notices," "Channel notices," and "Disable ZNC playback notifications." The obvious man out here is "Channel messages." In order to get notifications for channel messages, a custom rule must be created, but MODE, KICK, PART, JOIN, QUIT messages get annoying and a way to filter them out would very much be desirable, as @nfearnley stated previously.
I think a "Channel messages" option should be added that ignores MODE, KICK, PART, JOIN, QUIT messages by default.
Also, I am personally not interested in "Channel notices" notifications, but currently checking "Show notification" has absolutely no effect, so I would assume this to be a bug. Obviously most people would prefer not getting notifications for this, I would imagine, but in that case the setting should not be made available if it has no effect. This was tested on various models of Samsung with the same result.
Edit: Thinking back on testing the "Channel notices" "Show notification" feature, this may actually be due to a server-side abnormality. It was tested with a non-standard IRCD running on an embedded system that is streamlined and not fully featured, so channel notices may not actually come out as expected when compared to a fully featured IRCD. This may need to be double-checked by someone else to verify.
I think @nfearnley's idea can also be approached a different way. We currently have the "Match" section, but we could also simply add a "Don't Match" section and possibly provide a drop-down with a list of commonly filtered messages, which would be the same as picking categories, as @nfearnley suggested, and also allow user-defined values.
Or, instead of the above, we could have rules similar to the "Applies to" section for the "Match" section and allow a drop-down to pick between matching (include) or not matching (exclude), and then also a drop-down of commonly filtered messages/categories as well as allow user-defined values. If we went this route, we could also drop the "Applies to" section all together and just allow each rule to include criteria for matching as well as what to match to, instead of having two separate sections.
Implementing either of the above would allow more customizability for servers that send non-standard messages that aren't part of the common "MODE, KICK, PART, JOIN, QUIT" set, as well as an infinite range of other types of messages, even those from users that wish to be filtered out based on user-defined criteria. The basic premise here being that when you're in a crowded channel and want to receive notifications for only very specific things, the customizability should be there to allow you to do so as needed so your phone isn't ringing or vibrating unnecessarily while you are going about your day and you are only notified of those things important to you.