]> git.mxchange.org Git - friendica.git/commitdiff
Additional check for repeated posts
authorMichael Vogel <icarus@dabo.de>
Wed, 29 Oct 2014 00:31:29 +0000 (01:31 +0100)
committerMichael Vogel <icarus@dabo.de>
Wed, 29 Oct 2014 00:31:29 +0000 (01:31 +0100)
include/items.php

index c4555e82daa4473ad4154d9f7730ec251251dbbf..3171e4f936cd76f5c52c914acc2c05d33e29360e 100644 (file)
@@ -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;