]> git.mxchange.org Git - friendica.git/commitdiff
We now store the diaspora comment data as well
authorMichael <heluecht@pirati.ca>
Thu, 11 Oct 2018 20:38:57 +0000 (20:38 +0000)
committerMichael <heluecht@pirati.ca>
Thu, 11 Oct 2018 20:38:57 +0000 (20:38 +0000)
src/Protocol/ActivityPub/Processor.php

index 5d2d7fe1162def9100d99c298e8a9bdcdc1b2a21..166530f472729d2312e5b79769035b541e3c5364 100644 (file)
@@ -215,6 +215,7 @@ class Processor
                $item['tag'] = self::constructTagList($activity['tags'], $activity['sensitive']);
                $item['app'] = $activity['service'];
                $item['plink'] = defaults($activity, 'alternate-url', $item['uri']);
+               $item['diaspora_signed_text'] = defaults($activity, 'diaspora:comment', '');
 
                $item = self::constructAttachList($activity['attachments'], $item);