summaryrefslogtreecommitdiff
path: root/scripts/ombqueuehandler.php
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/ombqueuehandler.php')
-rwxr-xr-xscripts/ombqueuehandler.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/ombqueuehandler.php b/scripts/ombqueuehandler.php
index 28c76db9a..292d13956 100755
--- a/scripts/ombqueuehandler.php
+++ b/scripts/ombqueuehandler.php
@@ -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);
}
}