return correct values for success in handling messages

darcs-hash:20080828011002-84dde-8099da64841ab137e915249025857f34084c0f34.gz
This commit is contained in:
Evan Prodromou 2008-08-27 21:10:02 -04:00
parent 6b1f391306
commit cde3bc585f
2 changed files with 6 additions and 3 deletions

View File

@ -44,8 +44,11 @@ class OmbQueueHandler extends QueueHandler {
} }
function handle_notice($notice) { function handle_notice($notice) {
if (!$this->is_remote($notice)) { if ($this->is_remote($notice)) {
omb_broadcast_remote_subscribers($notice); # It's fine, we're done with it.
return true;
} else {
return omb_broadcast_remote_subscribers($notice);
} }
} }

View File

@ -46,7 +46,7 @@ class XmppQueueHandler extends QueueHandler {
} }
function handle_notice($notice) { function handle_notice($notice) {
jabber_broadcast_notice($notice); return jabber_broadcast_notice($notice);
} }
function finish() { function finish() {