mirror of
https://github.com/friendica/friendica
synced 2024-11-18 10:23:41 +00:00
Add expected xmlns attribute to group feed entries
This commit is contained in:
parent
21227453e5
commit
518c463761
1 changed files with 2 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue