Merge pull request #2668 from annando/1607-diaspora-retraction
Diaspora: Relayed retraction hadn't worked.
This commit is contained in:
commit
fd105609a4
1 changed files with 0 additions and 6 deletions
|
@ -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"]));
|
||||
|
|
Loading…
Reference in a new issue