]> git.mxchange.org Git - friendica.git/blobdiff - src/Protocol/OStatus.php
Function is renamed
[friendica.git] / 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);