mirror of
https://github.com/friendica/friendica
synced 2024-11-10 09:42:54 +00:00
It's possibly better to use context links that do exist
This commit is contained in:
parent
06a59c8312
commit
9171b2a0f3
1 changed files with 3 additions and 1 deletions
|
@ -548,6 +548,8 @@ class Transmitter
|
|||
} else {
|
||||
return $data;
|
||||
}
|
||||
|
||||
/// @todo Create "conversation" entry
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -669,7 +671,7 @@ class Transmitter
|
|||
} elseif (DBA::isResult($conversation) && !empty($conversation['conversation-uri'])) {
|
||||
$context_uri = $conversation['conversation-uri'];
|
||||
} else {
|
||||
$context_uri = str_replace('/objects/', '/context/', $item['parent-uri']);
|
||||
$context_uri = $item['parent-uri'] . '#context';
|
||||
}
|
||||
return $context_uri;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue