The "Follow" activity shouldn't be send to Diaspora

This commit is contained in:
Michael 2018-12-24 14:50:21 +00:00
parent 3b5bcd35f9
commit c43bd890a5

View file

@ -3727,12 +3727,12 @@ class Diaspora
} elseif (in_array($item["verb"], [ACTIVITY_LIKE, ACTIVITY_DISLIKE])) {
$message = self::constructLike($item, $owner);
$type = "like";
} else {
} elseif (!in_array($item["verb"], [ACTIVITY_FOLLOW])) {
$message = self::constructComment($item, $owner);
$type = "comment";
}
if (!$message) {
if (empty($message)) {
return false;
}