From 4e094cc68f2925c60d6e806f2fbf8e8737b8dda9 Mon Sep 17 00:00:00 2001 From: Michael Date: Fri, 16 Aug 2024 19:29:44 +0000 Subject: [PATCH] Issue 14364: Fix post delivery of groups --- src/Content/Item.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Content/Item.php b/src/Content/Item.php index 6befe978ff..08ba3d6fa8 100644 --- a/src/Content/Item.php +++ b/src/Content/Item.php @@ -547,9 +547,9 @@ class Item $item['private'] = $private_group ? ItemModel::PRIVATE : ItemModel::UNLISTED; if ($only_to_group) { - $pcid = Contact::getPublicContactId($group_contact['id'], $item['uid']); - if ($pcid) { - $item['owner-id'] = $pcid; + $ucid = Contact::getUserContactId($group_contact['id'], $item['uid']); + if ($ucid) { + $item['owner-id'] = $ucid; unset($item['owner-link']); unset($item['owner-name']); unset($item['owner-avatar']);