Fix commenting on mobile to Diaspora
This commit is contained in:
parent
8bdfdc7d52
commit
be7a01f086
3 changed files with 8 additions and 15 deletions
|
@ -713,13 +713,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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue