summaryrefslogtreecommitdiff
path: root/lib/jabber.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@status.net>2010-01-07 14:56:09 -0800
committerEvan Prodromou <evan@status.net>2010-01-07 14:56:09 -0800
commitc0a062dd8517a95acf8a7bdddddd4a397d791c1f (patch)
tree6a42bf82d92a266a2fa211197759a2d90ee70a23 /lib/jabber.php
parentb2bab7d7caddd7e57974e07c48663e1422853ebe (diff)
parent14421d9db31392c731fc6d298805f6f4fd216b8b (diff)
Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x
Diffstat (limited to 'lib/jabber.php')
-rw-r--r--lib/jabber.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/jabber.php b/lib/jabber.php
index 01aed8ffa..a821856a8 100644
--- a/lib/jabber.php
+++ b/lib/jabber.php
@@ -440,7 +440,7 @@ function jabber_public_notice($notice)
// XXX: should we send out non-local messages if public,localonly
// = false? I think not
- if ($public && $notice->is_local) {
+ if ($public && $notice->is_local == Notice::LOCAL_PUBLIC) {
$profile = Profile::staticGet($notice->profile_id);
if (!$profile) {