mirror of
https://github.com/friendica/friendica
synced 2025-04-24 23:10:11 +00:00
"uri-id" instead of "uri" or "id"
This commit is contained in:
parent
a7b07b6e2e
commit
ef0400fc19
11 changed files with 130 additions and 147 deletions
|
@ -287,8 +287,8 @@ class Post
|
|||
$responses = [];
|
||||
foreach ($response_verbs as $value => $verb) {
|
||||
$responses[$verb] = [
|
||||
'self' => $conv_responses[$verb][$item['uri']]['self'] ?? 0,
|
||||
'output' => !empty($conv_responses[$verb][$item['uri']]) ? format_activity($conv_responses[$verb][$item['uri']]['links'], $verb, $item['uri']) : '',
|
||||
'self' => $conv_responses[$verb][$item['uri-id']]['self'] ?? 0,
|
||||
'output' => !empty($conv_responses[$verb][$item['uri-id']]) ? format_activity($conv_responses[$verb][$item['uri-id']]['links'], $verb, $item['uri-id']) : '',
|
||||
];
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue