From b59beb50e6d7201d5a683277562f4065057f3c41 Mon Sep 17 00:00:00 2001 From: Mikael Nordfeldth Date: Wed, 7 May 2014 09:19:55 +0200 Subject: [PATCH] misplaced dollar sign, also URLs != attention URIs --- plugins/OStatus/actions/usersalmon.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) 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 { -- 2.39.5