]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - lib/imqueuehandler.php
Merge branch 'nightly' into 'nightly'
[quix0rs-gnu-social.git] / lib / imqueuehandler.php
index 9c48c7093c1cbda62ca48773019efecd3ce7c589..2df25ac9f4fb36b522d7a2df8a4e52374e29ce23 100644 (file)
@@ -38,9 +38,8 @@ class ImQueueHandler extends QueueHandler
     function handle($notice)
     {
         $this->plugin->broadcastNotice($notice);
-        if ($notice->is_local == Notice::LOCAL_PUBLIC ||
-            $notice->is_local == Notice::LOCAL_NONPUBLIC) {
-            $this->plugin->public_notice($notice);
+        if ($notice->isLocal()) {
+            $this->plugin->publicNotice($notice);
         }
         return true;
     }