From: Michael Date: Tue, 25 Dec 2018 19:50:40 +0000 (+0000) Subject: Don't show "follow" activity X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=bb0d7a5c51a3f36df9bcaf9d765acd2c7c6c7385;p=friendica.git Don't show "follow" activity --- diff --git a/include/conversation.php b/include/conversation.php index d6ad4f11b6..1059941b9e 100644 --- a/include/conversation.php +++ b/include/conversation.php @@ -389,7 +389,7 @@ function visible_activity($item) { * likes (etc.) can apply to other things besides posts. Check if they are post children, * in which case we handle them specially */ - $hidden_activities = [ACTIVITY_LIKE, ACTIVITY_DISLIKE, ACTIVITY_ATTEND, ACTIVITY_ATTENDNO, ACTIVITY_ATTENDMAYBE]; + $hidden_activities = [ACTIVITY_LIKE, ACTIVITY_DISLIKE, ACTIVITY_ATTEND, ACTIVITY_ATTENDNO, ACTIVITY_ATTENDMAYBE, ACTIVITY_FOLLOW]; foreach ($hidden_activities as $act) { if (activity_match($item['verb'], $act)) { return false;