We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit cde3bc58 authored by Evan Prodromou's avatar Evan Prodromou

return correct values for success in handling messages

darcs-hash:20080828011002-84dde-8099da64841ab137e915249025857f34084c0f34.gz
parent 6b1f3913
......@@ -44,8 +44,11 @@ class OmbQueueHandler extends QueueHandler {
}
function handle_notice($notice) {
if (!$this->is_remote($notice)) {
omb_broadcast_remote_subscribers($notice);
if ($this->is_remote($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) {
jabber_broadcast_notice($notice);
return jabber_broadcast_notice($notice);
}
function finish() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment