diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/jabber.php | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/jabber.php b/lib/jabber.php index 2e136cd74..9bccc6fe4 100644 --- a/lib/jabber.php +++ b/lib/jabber.php @@ -131,9 +131,8 @@ function jabber_broadcast_notice($notice) { $msg = jabber_format_notice($profile, $notice); while ($sub->fetch()) { $user = User::staticGet($sub->subscriber); - if ($user && $user->jabber) { - jabber_send_message($user->jabber, - $msg); + if ($user && $user->jabber && $user->jabbernotify) { + jabber_send_message($user->jabber, $msg); } } } |