]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
misplaced dollar sign, also URLs != attention URIs
authorMikael Nordfeldth <mmn@hethane.se>
Wed, 7 May 2014 07:19:55 +0000 (09:19 +0200)
committerMikael Nordfeldth <mmn@hethane.se>
Wed, 7 May 2014 07:20:57 +0000 (09:20 +0200)
plugins/OStatus/actions/usersalmon.php

index 3376e4d5ea4c9ed7c1aa44c5258491f000bca4dd..fec1ca2be3d5b5ac995fcdc2a6fba007f58c3981 100644 (file)
@@ -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 {