wasn't checking for notify flag
darcs-hash:20080630152415-84dde-7ee73e1b9b8684ebcfb957c2c33b20a8265e1e74.gz
This commit is contained in:
parent
e41a90e7e9
commit
d437fcfac9
@ -131,9 +131,8 @@ function jabber_broadcast_notice($notice) {
|
|||||||
$msg = jabber_format_notice($profile, $notice);
|
$msg = jabber_format_notice($profile, $notice);
|
||||||
while ($sub->fetch()) {
|
while ($sub->fetch()) {
|
||||||
$user = User::staticGet($sub->subscriber);
|
$user = User::staticGet($sub->subscriber);
|
||||||
if ($user && $user->jabber) {
|
if ($user && $user->jabber && $user->jabbernotify) {
|
||||||
jabber_send_message($user->jabber,
|
jabber_send_message($user->jabber, $msg);
|
||||||
$msg);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user