From 9171b2a0f3f4ddf5e03e1f2bffdecbb4607f7ba0 Mon Sep 17 00:00:00 2001 From: Michael Date: Thu, 4 Oct 2018 09:46:29 +0000 Subject: [PATCH] It's possibly better to use context links that do exist --- src/Protocol/ActivityPub/Transmitter.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Protocol/ActivityPub/Transmitter.php b/src/Protocol/ActivityPub/Transmitter.php index bb98371178..8104d46696 100644 --- a/src/Protocol/ActivityPub/Transmitter.php +++ b/src/Protocol/ActivityPub/Transmitter.php @@ -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; } -- 2.39.5