mirror of
https://github.com/friendica/friendica
synced 2025-04-23 21:50:10 +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
|
@ -144,6 +144,8 @@ class Processor
|
|||
self::fetchMissingActivity($activity['reply-to-id'], $activity);
|
||||
}
|
||||
|
||||
$item['diaspora_signed_text'] = defaults($activity, 'diaspora:comment', '');
|
||||
|
||||
self::postItem($activity, $item);
|
||||
}
|
||||
|
||||
|
@ -174,6 +176,8 @@ class Processor
|
|||
$item['gravity'] = GRAVITY_ACTIVITY;
|
||||
$item['object-type'] = ACTIVITY_OBJ_NOTE;
|
||||
|
||||
$item['diaspora_signed_text'] = defaults($activity, 'diaspora:like', '');
|
||||
|
||||
self::postItem($activity, $item);
|
||||
}
|
||||
|
||||
|
@ -260,7 +264,6 @@ class Processor
|
|||
$item['tag'] = self::constructTagList($activity['tags'], $activity['sensitive']);
|
||||
$item['app'] = $activity['generator'];
|
||||
$item['plink'] = defaults($activity, 'alternate-url', $item['uri']);
|
||||
$item['diaspora_signed_text'] = defaults($activity, 'diaspora:comment', '');
|
||||
|
||||
$item = self::constructAttachList($activity['attachments'], $item);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue