We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6ab4e67 commit f6dcfc7Copy full SHA for f6dcfc7
1 file changed
notification/method/webpush.php
@@ -97,7 +97,7 @@ public function get_type(): string
97
*/
98
public function is_available(type_interface $notification_type = null): bool
99
{
100
- return parent::is_available($notification_type) && $this->config['wpn_webpush_enable']
+ return $this->config['wpn_webpush_enable']
101
&& !empty($this->config['wpn_webpush_vapid_public']) && !empty($this->config['wpn_webpush_vapid_private']);
102
}
103
0 commit comments