Fix commenting on mobile to Diaspora

This commit is contained in:
Michael 2021-05-31 19:39:50 +00:00
parent 8bdfdc7d52
commit be7a01f086
3 changed files with 8 additions and 15 deletions

View file

@ -4049,13 +4049,6 @@ class Diaspora
return false;
}
$parent = Post::selectFirst(['parent-uri'], ['uri' => $item['thr-parent']]);
if (!DBA::isResult($parent)) {
return;
}
$item['parent-uri'] = $parent['parent-uri'];
$message = self::constructComment($item, $owner);
if ($message === false) {
return false;