summaryrefslogtreecommitdiff
path: root/plugins/OStatus/actions/usersalmon.php
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/OStatus/actions/usersalmon.php')
-rw-r--r--plugins/OStatus/actions/usersalmon.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/OStatus/actions/usersalmon.php b/plugins/OStatus/actions/usersalmon.php
index 12c74798f..3c0f72855 100644
--- a/plugins/OStatus/actions/usersalmon.php
+++ b/plugins/OStatus/actions/usersalmon.php
@@ -80,7 +80,7 @@ class UsersalmonAction extends SalmonAction
throw new ClientException("In reply to a notice not by this user");
}
} else if (!empty($context->attention)) {
- if (!in_array($context->attention, $this->user->uri)) {
+ if (!in_array($this->user->uri, $context->attention)) {
throw new ClientException("To the attention of user(s) not including this one!");
}
} else {