]> git.mxchange.org Git - friendica.git/commitdiff
Add expected xmlns attribute to group feed entries
authorHypolite Petovan <hypolite@mrpetovan.com>
Thu, 16 Nov 2023 11:58:15 +0000 (06:58 -0500)
committerHypolite Petovan <hypolite@mrpetovan.com>
Thu, 16 Nov 2023 11:58:15 +0000 (06:58 -0500)
src/Protocol/OStatus.php

index 3d35394b92e586164b85c24bf0341d8b0f626767..d6a2f2dad1ce3b8cb8bb180087ba2a377afa3c7f 100644 (file)
@@ -1470,6 +1470,8 @@ class OStatus
                        $entry = $doc->createElement('entry');
 
                        if ($owner['contact-type'] == Contact::TYPE_COMMUNITY) {
+                               $entry->setAttribute('xmlns:activity', ActivityNamespace::ACTIVITY);
+
                                $contact = Contact::getByURL($item['author-link']) ?: $owner;
                                $contact['nickname'] = $contact['nickname'] ?? $contact['nick'];
                                $author = self::addAuthor($doc, $contact, false);