We mustn't reshare a feed item (only DFRN and Diaspora)

pull/5044/head
Michael 2018-05-13 18:31:01 +00:00
rodzic 97ef838abe
commit 57bd073ffd
1 zmienionych plików z 4 dodań i 0 usunięć

Wyświetl plik

@ -3515,6 +3515,10 @@ class Diaspora
$ret["root_handle"] = self::handleFromContact($item["contact-id"]);
$ret["root_guid"] = $guid;
return $ret;
} elseif ($complete) {
// We are resharing something that isn't a DFRN or Diaspora post.
// So we have to return "false" on "$complete" to not trigger a reshare.
return false;
}
} elseif (($guid == "") && $complete) {
return false;