It's possibly better to use context links that do exist

This commit is contained in:
Michael 2018-10-04 09:46:29 +00:00
parent 06a59c8312
commit 9171b2a0f3

View File

@ -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;
}