fa04107865
The NotificationRelayService consumes events directly into LocalCache, which made EventNotificationConsumer's hasConsumed dedup check short-circuit every subsequent push-notification path. As a result, no notifications fired while the service was active. Rework the notification pipeline so every delivery source (FCM, UnifiedPush, Pokey, active relay subscriptions, NotificationRelayService) feeds LocalCache and a single dispatcher observes it for notification-relevant kinds. Foreground suppression is scoped to MainActivity (PiP/Call activities keep notifying), with carve-outs for CallOffer and WakeUp so time-sensitive events always fire. - Add NewEventMatchingFilter observable primitive alongside EventListMatchingFilter for per-event emission (no list accumulation). - Add LocalCache.observeNewEvents<T>(filter) backed by the new observable. - Add MainActivity.isResumed flag flipped in onResume/onPause. - Add NotificationDispatcher that observes LocalCache for GiftWrap, EphemeralGiftWrap, PrivateDm, LnZap, Reaction, Chess, and WakeUp. - Replace EventNotificationConsumer.consume / findAccountAndConsume with consumeFromCache, which skips the hasConsumed check (the observer itself provides first-delivery semantics) and gates non-priority kinds on MainActivity.isResumed. - Rewire FCM/UnifiedPush/Pokey receivers to feed LocalCache directly. - Wire the dispatcher into AppModules lifecycle.