From: Evan Prodromou Date: Mon, 30 Jun 2008 15:24:15 +0000 (-0400) Subject: wasn't checking for notify flag X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=d437fcfac92d8c1170b926ed348fcdb5b59cce1e;p=quix0rs-gnu-social.git wasn't checking for notify flag darcs-hash:20080630152415-84dde-7ee73e1b9b8684ebcfb957c2c33b20a8265e1e74.gz --- diff --git a/lib/jabber.php b/lib/jabber.php index 2e136cd748..9bccc6fe4e 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); } } }