X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=lib%2Fimqueuehandler.php;h=2df25ac9f4fb36b522d7a2df8a4e52374e29ce23;hb=6b5450b7e64418d90fb32a122427e0431271e358;hp=b42d8e7c0b8d421160c02ff72f4c69e939ab0846;hpb=718317542940a8976f2c6f2a9ea09a04f2f00ca6;p=quix0rs-gnu-social.git diff --git a/lib/imqueuehandler.php b/lib/imqueuehandler.php index b42d8e7c0b..2df25ac9f4 100644 --- a/lib/imqueuehandler.php +++ b/lib/imqueuehandler.php @@ -37,10 +37,9 @@ class ImQueueHandler extends QueueHandler */ function handle($notice) { - $this->plugin->broadcast_notice($notice); - if ($notice->is_local == Notice::LOCAL_PUBLIC || - $notice->is_local == Notice::LOCAL_NONPUBLIC) { - $this->plugin->public_notice($notice); + $this->plugin->broadcastNotice($notice); + if ($notice->isLocal()) { + $this->plugin->publicNotice($notice); } return true; }