]> git.mxchange.org Git - friendica.git/blobdiff - src/Protocol/OStatus.php
Check array key existence in ActivityPub\Transmitter::createPermissionBlockForItem
[friendica.git] / src / Protocol / OStatus.php
index 835dc4bde89b1ccd4574042728c64bae338a1b92..a2c9a84473ef33d888dda6f9a895ffbf3f8a0e90 100644 (file)
@@ -1731,6 +1731,7 @@ class OStatus
 
                        if ($owner['contact-type'] == Contact::TYPE_COMMUNITY) {
                                $contact = Contact::getByURL($item['author-link']) ?: $owner;
+                               $contact['nickname'] = $contact['nickname'] ?? $contact['nick']; 
                                $author = self::addAuthor($doc, $contact, false);
                                $entry->appendChild($author);
                        }