return correct values for success in handling messages
darcs-hash:20080828011002-84dde-8099da64841ab137e915249025857f34084c0f34.gz
This commit is contained in:
parent
6b1f391306
commit
cde3bc585f
|
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -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() {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user