From: Mikael Nordfeldth Date: Wed, 7 May 2014 07:19:55 +0000 (+0200) Subject: misplaced dollar sign, also URLs != attention URIs X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=b59beb50e6d7201d5a683277562f4065057f3c41;p=quix0rs-gnu-social.git misplaced dollar sign, also URLs != attention URIs --- diff --git a/plugins/OStatus/actions/usersalmon.php b/plugins/OStatus/actions/usersalmon.php index 3376e4d5ea..fec1ca2be3 100644 --- a/plugins/OStatus/actions/usersalmon.php +++ b/plugins/OStatus/actions/usersalmon.php @@ -87,10 +87,8 @@ class UsersalmonAction extends SalmonAction array_key_exists($this->user->id, $notice->getReplies()))) { // In reply to a notice either from or mentioning this user. - } else if (!empty($context->attention) && - (array_key_exists($this->user->uri, $context->attention) || - array_key_exists($common_profile_url($this->user->getNickname()), - $context->attention))) + } elseif (!empty($context->attention) && + array_key_exists($this->user->getUri(), $context->attention)) { { // To the attention of this user. } else {