NotificationsGrouperConfig.lenient constructor

const NotificationsGrouperConfig.lenient()

Legacy behavior from bluesky <= 2.x.

  • Groups only like / repost / follow.
  • No time window.
  • Collapses repeated notifications from the same author.
  • Does not separate follow-backs.
  • Uses the newest notification's isRead for the group.

Implementation

const NotificationsGrouperConfig.lenient()
  : groupableReasons = const {
      KnownNotificationReason.like,
      KnownNotificationReason.repost,
      KnownNotificationReason.follow,
    },
    window = null,
    separateFollowBacks = false,
    unreadIfAny = false,
    uniqueAuthors = false;