Add expected xmlns attribute to group feed entries
This commit is contained in:
@@ -1470,6 +1470,8 @@ class OStatus
|
|||||||
$entry = $doc->createElement('entry');
|
$entry = $doc->createElement('entry');
|
||||||
|
|
||||||
if ($owner['contact-type'] == Contact::TYPE_COMMUNITY) {
|
if ($owner['contact-type'] == Contact::TYPE_COMMUNITY) {
|
||||||
|
$entry->setAttribute('xmlns:activity', ActivityNamespace::ACTIVITY);
|
||||||
|
|
||||||
$contact = Contact::getByURL($item['author-link']) ?: $owner;
|
$contact = Contact::getByURL($item['author-link']) ?: $owner;
|
||||||
$contact['nickname'] = $contact['nickname'] ?? $contact['nick'];
|
$contact['nickname'] = $contact['nickname'] ?? $contact['nick'];
|
||||||
$author = self::addAuthor($doc, $contact, false);
|
$author = self::addAuthor($doc, $contact, false);
|
||||||
|
|||||||
Reference in New Issue
Block a user