mirror of
https://github.com/friendica/friendica
synced 2025-04-26 06:30:11 +00:00
Transmit the Diaspora GUID with activities (Like, Dislike, ...)
This commit is contained in:
parent
2341ce353d
commit
389a651005
2 changed files with 5 additions and 0 deletions
|
@ -432,6 +432,10 @@ class Receiver
|
|||
$object_data['updated'] = $activity['updated'];
|
||||
}
|
||||
|
||||
if (!empty($activity['diaspora:guid']) && empty($object_data['diaspora:guid'])) {
|
||||
$object_data['diaspora:guid'] = $activity['diaspora:guid'];
|
||||
}
|
||||
|
||||
if (!empty($activity['inReplyTo']) && empty($object_data['parent-uri'])) {
|
||||
$object_data['parent-uri'] = JsonLD::fetchElement($activity, 'inReplyTo', 'id');
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue