]> git.mxchange.org Git - friendica.git/blobdiff - view/theme/frio/theme.php
Merge pull request #10166 from mexon/mat/refactor-user-arguments
[friendica.git] / view / theme / frio / theme.php
index 38efc700785b398042d2b2d860d266dc1b497618..78654dd2fc4e3bd4ebff05980c58127c4a9efd7f 100644 (file)
@@ -189,7 +189,7 @@ function frio_contact_photo_menu(App $a, &$args)
  * @param App $a The App class
  * @param array $nav The original nav menu
  */
-function frio_remote_nav($a, &$nav)
+function frio_remote_nav(App $a, array &$nav)
 {
        // get the homelink from $_XSESSION
        $homelink = Model\Profile::getMyURL();
@@ -314,8 +314,9 @@ function frio_display_item(App $a, &$arr)
                local_user()
                && local_user() == $arr['item']['uid']
                && $arr['item']['gravity'] == GRAVITY_PARENT
-               && !$arr['item']['self'])
-       {
+               && !$arr['item']['self']
+               && !$arr['item']['mention']
+       ) {
                $followThread = [
                        'menu'   => 'follow_thread',
                        'title'  => DI::l10n()->t('Follow Thread'),