It's possibly better to use context links that do exist
This commit is contained in:
parent
06a59c8312
commit
9171b2a0f3
|
@ -548,6 +548,8 @@ class Transmitter
|
||||||
} else {
|
} else {
|
||||||
return $data;
|
return $data;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// @todo Create "conversation" entry
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -669,7 +671,7 @@ class Transmitter
|
||||||
} elseif (DBA::isResult($conversation) && !empty($conversation['conversation-uri'])) {
|
} elseif (DBA::isResult($conversation) && !empty($conversation['conversation-uri'])) {
|
||||||
$context_uri = $conversation['conversation-uri'];
|
$context_uri = $conversation['conversation-uri'];
|
||||||
} else {
|
} else {
|
||||||
$context_uri = str_replace('/objects/', '/context/', $item['parent-uri']);
|
$context_uri = $item['parent-uri'] . '#context';
|
||||||
}
|
}
|
||||||
return $context_uri;
|
return $context_uri;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue