Class MentionNotificationSource

java.lang.Object
su.onno.ui.notifications.MentionNotificationSource

public class MentionNotificationSource extends Object
Built-in notification producer for comment @-mentions. It listens for the framework's EntityMentionedEvent — published once per readable mention in a freshly posted comment, with no consumer of its own — and turns a mention of a user into a notification for that user.

Only mentions that point at the identity catalog (the one Layout.identity(...) links a login to) become notifications: mentioning a customer or a document is a navigable reference, but only a mentioned person has someone to notify. A self-mention notifies nobody. Gated by onno.notifications.mentions.enabled (default true).