Open mokou opened 3 months ago
I very much like the angle of this. I would suggest making this a CAP for cases where there is a +mention
value for a user who wasn't specified in the user's message and the server can then know if they should notify about a mention by other means such as a server notice (which would only be as intrusive as having that many mentions anyway)
This is in a similar vein as the
+polite
(#106) idea, but instead of indicating to a client that it shouldn't alert a person, it indicates that it should. Making this a new issue so as to not hijack the other one.Mentions
The idea would be to decouple mentions/nickname-highlights from the message content itself. Besides providing for a standard way to ping someone by their nick, it could indicate if a
+reply
to a message is intended to alert the person replied to.Additionally, it could provide for a field to search on for
chathistory
like ircv3/ircv3-specifications#438 sort of touches on.Normal mention
Mention entire channel
A
+reply
with explicit mentionSilent Mentions
I think it's also worth supporting a concept of "silent" or "polite" mentions. Where a normal mention would be attention grabbing, such as with a push notification, a silent one would perhaps only be indicated by an unread notification badge, highlighted channel, or similar.
This could be done a different tag, such as by adding a
+silent
tag to indicate that all the mentions should be silent. Alternately, going more in line with the+polite
idea if granularity is desired, the target in the+mention
tag could be prefixed with!
or something to indicate that it's a silent mention.