]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - lib/jabber.php
Fixes to bugs where non-local messages were being wrong put in the public timeline...
[quix0rs-gnu-social.git] / lib / jabber.php
index 01aed8ffa54d8d6a351a8172ccedbb1b10529241..6e094c207e5b21099f9f372bd1b10025ec8f7603 100644 (file)
@@ -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) {