]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Correction to previous commit
authorCiaran Gultnieks <ciaran@ciarang.com>
Thu, 7 Jan 2010 21:01:07 +0000 (21:01 +0000)
committerCiaran Gultnieks <ciaran@ciarang.com>
Thu, 7 Jan 2010 21:01:07 +0000 (21:01 +0000)
lib/jabber.php

index 6e094c207e5b21099f9f372bd1b10025ec8f7603..a821856a8b004c92e1b00879bbf15eba3fd5228c 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 == LOCAL_PUBLIC) {
+    if ($public && $notice->is_local == Notice::LOCAL_PUBLIC) {
         $profile = Profile::staticGet($notice->profile_id);
 
         if (!$profile) {