$activity['thr-parent'] = $activity['parent-uri'];
}
- // only list each unique author once
- if (in_array($link, $conv_responses[$mode][$activity['thr-parent']]['links'])) {
- continue;
- }
-
// Skip when the causer of the parent is the same than the author of the announce
if (($verb == Activity::ANNOUNCE) && Item::exists(['uri' => $activity['thr-parent'],
'uid' => $activity['uid'], 'causer-id' => $activity['author-id'], 'gravity' => GRAVITY_PARENT])) {
'links' => [],
'self' => 0,
];
+ } elseif (in_array($link, $conv_responses[$mode][$activity['thr-parent']]['links'])) {
+ // only list each unique author once
+ continue;
}
if (public_contact() == $activity['author-id']) {