Merge pull request #10348 from annando/fix-diaspora-comment

Fix commenting on mobile to Diaspora
This commit is contained in:
Hypolite Petovan
2021-05-31 19:27:53 -04:00
committed by GitHub
3 changed files with 11 additions and 13 deletions
-7
View File
@@ -714,13 +714,6 @@ function item_post(App $a) {
unset($datarray['self']);
unset($datarray['api_source']);
if ($origin) {
$signed = Diaspora::createCommentSignature($uid, $datarray);
if (!empty($signed)) {
$datarray['diaspora_signed_text'] = json_encode($signed);
}
}
$post_id = Item::insert($datarray);
if (!$post_id) {