X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=lib%2Fimqueuehandler.php;h=2df25ac9f4fb36b522d7a2df8a4e52374e29ce23;hb=da2f179ae97766b32f84d8180068830a605c9510;hp=b42d8e7c0b8d421160c02ff72f4c69e939ab0846;hpb=1dadb8efc04cbb807b2cd8b6291f7c2f64a631dc;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; }