Don't show "follow" activity
This commit is contained in:
parent
7d6717d97e
commit
bb0d7a5c51
1 changed files with 1 additions and 1 deletions
|
@ -389,7 +389,7 @@ function visible_activity($item) {
|
||||||
* likes (etc.) can apply to other things besides posts. Check if they are post children,
|
* likes (etc.) can apply to other things besides posts. Check if they are post children,
|
||||||
* in which case we handle them specially
|
* 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) {
|
foreach ($hidden_activities as $act) {
|
||||||
if (activity_match($item['verb'], $act)) {
|
if (activity_match($item['verb'], $act)) {
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Reference in a new issue