diff --git a/src/Protocol/OStatus.php b/src/Protocol/OStatus.php index 3d35394b92..d6a2f2dad1 100644 --- a/src/Protocol/OStatus.php +++ b/src/Protocol/OStatus.php @@ -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);