]> git.mxchange.org Git - friendica.git/commitdiff
Store the conversation data as well
authorMichael <heluecht@pirati.ca>
Fri, 28 Feb 2020 09:42:04 +0000 (09:42 +0000)
committerMichael <heluecht@pirati.ca>
Fri, 28 Feb 2020 09:42:04 +0000 (09:42 +0000)
src/Protocol/ActivityPub/Processor.php

index 4d4770c1b6c471fd1c4db7c6a35ea407ceba4e47..f184bb405b74e97812760c2f84442ca861338a32 100644 (file)
@@ -451,6 +451,8 @@ class Processor
                if (!empty($activity['raw']) && isset($activity['protocol'])) {
                        $item['source'] = $activity['raw'];
                        $item['protocol'] = $activity['protocol'];
+                       $item['conversation-href'] = $activity['context'] ?? '';
+                       $item['conversation-uri'] = $activity['conversation'] ?? '';
                }
 
                $isForum = false;