From 98599c4c4b2f7a4eae82d4905750fbb80a2337ea Mon Sep 17 00:00:00 2001 From: Michael Vogel Date: Sat, 6 Mar 2021 13:47:10 +0100 Subject: [PATCH] Avoid notice "Undefined index: author-name" in Diaspora delivery --- src/Model/Item.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Model/Item.php b/src/Model/Item.php index 299736d14d..002d4bd9bb 100644 --- a/src/Model/Item.php +++ b/src/Model/Item.php @@ -94,9 +94,9 @@ class Item 'private', 'title', 'body', 'raw-body', 'location', 'coord', 'app', 'inform', 'deleted', 'extid', 'post-type', 'gravity', 'allow_cid', 'allow_gid', 'deny_cid', 'deny_gid', - 'author-id', 'author-link', 'owner-id', 'owner-link', 'contact-uid', + 'author-id', 'author-link', 'author-name', 'author-avatar', 'owner-id', 'owner-link', 'contact-uid', 'signed_text', 'network', 'wall', 'contact-id', 'plink', 'forum_mode', 'origin', - 'thr-parent-id', 'parent-uri-id', 'postopts', 'pubmail', + 'thr-parent-id', 'parent-uri-id', 'postopts', 'pubmail', 'event-created', 'event-edited', 'event-start', 'event-finish', 'event-summary', 'event-desc', 'event-location', 'event-type', 'event-nofinish', 'event-adjust', 'event-ignore', 'event-id'];