mirror of
https://github.com/friendica/friendica
synced 2025-04-28 01:10:12 +00:00
Diaspora signatures are now stored and transmitted correctly
This commit is contained in:
parent
ea7a08ace2
commit
4831688dc0
6 changed files with 29 additions and 23 deletions
|
@ -3113,7 +3113,7 @@ class Item extends BaseObject
|
|||
|
||||
$signed = Diaspora::createLikeSignature($item_contact, $new_item);
|
||||
if (!empty($signed)) {
|
||||
$new_item['diaspora_signed_text'] = $signed;
|
||||
$new_item['diaspora_signed_text'] = json_encode($signed);
|
||||
}
|
||||
|
||||
$new_item_id = self::insert($new_item);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue