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

Commit 047db537 authored by Evan Prodromou's avatar Evan Prodromou

better logging in ombqueuehandler

darcs-hash:20080830055416-84dde-fad0303b1d4b7265e7f01faf90e088e409c7d8b3.gz
parent ca1f639f
......@@ -45,7 +45,7 @@ class OmbQueueHandler extends QueueHandler {
function handle_notice($notice) {
if ($this->is_remote($notice)) {
# It's fine, we're done with it.
$this->log(LOG_DEBUG, 'Ignoring remote notice ' . $notice->id);
return true;
} else {
return omb_broadcast_remote_subscribers($notice);
......@@ -57,7 +57,7 @@ class OmbQueueHandler extends QueueHandler {
function is_remote($notice) {
$user = User::staticGet($notice->profile_id);
return !$user;
return is_null($user);
}
}
......
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