X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=lib%2Fimqueuehandler.php;h=2df25ac9f4fb36b522d7a2df8a4e52374e29ce23;hb=8b78e01d4c4b9512a7b74efa52fcaf37de0dc6f1;hp=9c35890c62c47d9bae54903c7b321b687e7f49c8;hpb=e211e6228d7f7742967686005c693697e327e366;p=quix0rs-gnu-social.git diff --git a/lib/imqueuehandler.php b/lib/imqueuehandler.php index 9c35890c62..2df25ac9f4 100644 --- a/lib/imqueuehandler.php +++ b/lib/imqueuehandler.php @@ -38,8 +38,7 @@ class ImQueueHandler extends QueueHandler function handle($notice) { $this->plugin->broadcastNotice($notice); - if ($notice->is_local == Notice::LOCAL_PUBLIC || - $notice->is_local == Notice::LOCAL_NONPUBLIC) { + if ($notice->isLocal()) { $this->plugin->publicNotice($notice); } return true;