Adding `author-network` to ITEM::ITEM_FIELDLIST
authorPhilipp Holzer <admin+github@philipp.info>
Wed, 29 May 2019 17:57:45 +0000 (19:57 +0200)
committerPhilipp Holzer <admin+github@philipp.info>
Wed, 29 May 2019 18:09:20 +0000 (20:09 +0200)
see https://github.com/friendica/friendica/issues/6918#issuecomment-493515358

src/Model/Item.php

index 865aa4f..bd9cca0 100644 (file)
@@ -87,7 +87,7 @@ class Item extends BaseObject
                        'unseen', 'deleted', 'origin', 'forum_mode', 'mention', 'global', 'network',
                        'title', 'content-warning', 'body', 'location', 'coord', 'app',
                        'rendered-hash', 'rendered-html', 'object-type', 'object', 'target-type', 'target',
-                       'author-id', 'author-link', 'author-name', 'author-avatar',
+                       'author-id', 'author-link', 'author-name', 'author-avatar', 'author-network',
                        'owner-id', 'owner-link', 'owner-name', 'owner-avatar'];
 
        // Never reorder or remove entries from this list. Just add new ones at the end, if needed.