mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-08 04:18:52 +00:00
Merge branch '3.3.x'
This commit is contained in:
commit
f7ddbb7462
1 changed files with 1 additions and 1 deletions
|
@ -65,7 +65,7 @@ class jabber extends \phpbb\notification\method\messenger_base
|
||||||
*/
|
*/
|
||||||
public function is_available(type_interface $notification_type = null)
|
public function is_available(type_interface $notification_type = null)
|
||||||
{
|
{
|
||||||
return parent::is_available($notification_type) && $this->global_available() && $this->user->data['user_jabber'];
|
return parent::is_available($notification_type) && $this->global_available() && !empty($this->user->data['user_jabber']);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Add table
Reference in a new issue