123456789101112131415161718192021222324252627282930313233343536373839404142434445464748 |
- <?php
- if (!defined('STATUSNET') && !defined('LACONICA')) { exit(1); }
- class ImQueueHandler extends QueueHandler
- {
- function __construct($plugin)
- {
- $this->plugin = $plugin;
- }
-
- function handle($notice)
- {
- $this->plugin->broadcastNotice($notice);
- if ($notice->isLocal()) {
- $this->plugin->publicNotice($notice);
- }
- return true;
- }
- }
|