Class ReplyNotificationSource

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

public class ReplyNotificationSource extends Object
Built-in notification producer for comment replies. It listens for the framework's CommentRepliedEvent — published once per reply, with no consumer of its own — and notifies the parent comment's author that someone answered them.

Nobody is notified when the parent has no linked author (an unlinked principal only carries a display name — there is no inbox to deliver to), when someone replies to themselves, or when the reply also @-mentions the parent's author — the mention producer already notifies them, and one reply should not ring twice. Gated by onno.notifications.replies.enabled (default true).

  • Constructor Details

  • Method Details