]> git.mxchange.org Git - friendica.git/commitdiff
Don't show "follow" activity
authorMichael <heluecht@pirati.ca>
Tue, 25 Dec 2018 19:50:40 +0000 (19:50 +0000)
committerMichael <heluecht@pirati.ca>
Tue, 25 Dec 2018 19:50:40 +0000 (19:50 +0000)
include/conversation.php

index d6ad4f11b6c420b7be9864b97697c6e8cfdd12c9..1059941b9e0bcb274b12f678ff37d4f7b6895601 100644 (file)
@@ -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;