]> git.mxchange.org Git - friendica.git/commitdiff
Diaspora: Relayed retraction hadn't worked.
authorMichael Vogel <icarus@dabo.de>
Fri, 8 Jul 2016 18:39:14 +0000 (20:39 +0200)
committerMichael Vogel <icarus@dabo.de>
Fri, 8 Jul 2016 18:39:14 +0000 (20:39 +0200)
include/diaspora.php

index 8598ca7949ca511d7c5426aab3520f49c6e16dac..f983b8e02813228854821dfa734f378d23b774cc 100644 (file)
@@ -2117,12 +2117,6 @@ class diaspora {
                if (!$r)
                        return false;
 
-               // Only delete it if the author really fits
-               if (!link_compare($r[0]["author-link"], $person["url"])) {
-                       logger("Item author ".$r[0]["author-link"]." doesn't fit to expected contact ".$person["url"], LOGGER_DEBUG);
-                       return false;
-               }
-
                // Check if the sender is the thread owner
                $p = q("SELECT `id`, `author-link`, `origin` FROM `item` WHERE `id` = %d",
                        intval($r[0]["parent"]));