summaryrefslogtreecommitdiff
path: root/lib/jabber.php
diff options
context:
space:
mode:
authorCiaran Gultnieks <ciaran@ciarang.com>2010-01-07 20:59:31 +0000
committerCiaran Gultnieks <ciaran@ciarang.com>2010-01-07 20:59:31 +0000
commitdeeaafe71239597878cb3fd78aa66314745796a3 (patch)
tree62185263ebdc7dc58ec69769c4d48a2c0ee8ff71 /lib/jabber.php
parente53512cd2c2180f81fc7317de9df09a140099aa3 (diff)
Fixes to bugs where non-local messages were being wrong put in the public timeline and public xmpp feed
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..6e094c207 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 == LOCAL_PUBLIC) {
$profile = Profile::staticGet($notice->profile_id);
if (!$profile) {