From: Michael Date: Fri, 5 Apr 2019 08:59:39 +0000 (+0000) Subject: Fix: Only use reshare information for the top level post X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=4a30490ac980f8da9f945814fd066b3fc016eddd;p=friendica.git Fix: Only use reshare information for the top level post --- diff --git a/include/conversation.php b/include/conversation.php index 97784c6738..c82bbe58fc 100644 --- a/include/conversation.php +++ b/include/conversation.php @@ -802,7 +802,7 @@ function conversation_fetch_comments($thread_items) { $created = ''; while ($row = Item::fetch($thread_items)) { - if (($row['verb'] == ACTIVITY2_ANNOUNCE) && !empty($row['contact-uid']) && ($row['created'] > $created)) { + if (($row['verb'] == ACTIVITY2_ANNOUNCE) && !empty($row['contact-uid']) && ($row['created'] > $created) && ($row['thr-parent'] == $row['parent-uri'])) { $actor = ['link' => $row['author-link'], 'avatar' => $row['author-avatar'], 'name' => $row['author-name']]; $created = $row['created']; }