Uploaded image for project: 'phpBB'
  1. phpBB
  2. PHPBB-17445

Webpush notifications availability shouldn't require email templates

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Trivial Trivial
    • 4.0.0-a1
    • 4.0.0-a1
    • Notification System
    • None

      Currently webpush notification method involves the call of the \phpbb\notification\method\messenger_base::is_available() method to determine webpush method availability for notification types.

      messenger_base::is_available() relies on availability of email templates (email templates aren't used by webpush notification method though). So currently if some [custom] notification has no email templates for some reason, corresponding webpush method checkbox is disabled in notification types list.

      Suggestion is to drop this dependency just like for the board notification method which also don't need email templates to work.

            Marc Marc
            rxu rxu
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: