Offer "follow thread" only when you don't already follow

This commit is contained in:
Michael 2021-02-28 07:47:07 +00:00
parent f7c1cdde3b
commit 530cfba71e
3 changed files with 3 additions and 3 deletions

View file

@ -314,7 +314,7 @@ 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',