We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 738d13f commit 47e26eaCopy full SHA for 47e26ea
1 file changed
notification/method/webpush.php
@@ -103,7 +103,7 @@ public function get_type(): string
103
*/
104
public function is_available(type_interface $notification_type = null): bool
105
{
106
- return parent::is_available($notification_type) && $this->config['wpn_webpush_enable']
+ return parent::is_available($notification_type) && $this->config['allow_board_notifications'] && $this->config['wpn_webpush_enable']
107
&& !empty($this->config['wpn_webpush_vapid_public']) && !empty($this->config['wpn_webpush_vapid_private']);
108
}
109
0 commit comments