From: Michael Date: Tue, 14 Sep 2021 21:27:09 +0000 (+0000) Subject: Avoid duplicated filed posts X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=7a51a7f6c66424733cabb0505477bcd2eac9a2cc;p=friendica.git Avoid duplicated filed posts --- diff --git a/include/conversation.php b/include/conversation.php index 2db0c22b80..c49aacb177 100644 --- a/include/conversation.php +++ b/include/conversation.php @@ -419,7 +419,14 @@ function conversation(App $a, array $items, $mode, $update, $preview = false, $o $tpl = 'search_item.tpl'; + $uriids = []; + foreach ($items as $item) { + if (in_array($item['uri-id'], $uriids)) { + continue; + } + + $uriids[] = $item['uri-id']; if (!visible_activity($item)) { continue;