Diaspora: Relayed retraction hadn't worked.

This commit is contained in:
Michael Vogel 2016-07-08 20:39:14 +02:00
parent b4b2a6d5b8
commit e43a90252c
1 changed files with 0 additions and 6 deletions

View 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"]));