From 338ad1d85f864f2303c2f9185b24fee48fb48771 Mon Sep 17 00:00:00 2001 From: Michael Vogel Date: Wed, 29 Oct 2014 01:31:29 +0100 Subject: [PATCH] Additional check for repeated posts --- include/items.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/items.php b/include/items.php index c4555e82da..3171e4f936 100644 --- a/include/items.php +++ b/include/items.php @@ -2615,6 +2615,10 @@ function item_is_remote_self($contact, &$datarray) { if (!$contact['remote_self']) return false; + // Prevent the forwarding of posts that are forwarded + if ($datarray["extid"] == NETWORK_DFRN) + return false; + // Prevent to forward already forwarded posts if ($datarray["app"] == $a->get_hostname()) return false; -- 2.39.5