From: Michael Date: Tue, 7 Feb 2023 14:18:01 +0000 (+0000) Subject: Issue 12764: Fix photo permissions when posting via web X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=4d4e34dc640829684e766d081fc9897fe7f93ab7;p=friendica.git Issue 12764: Fix photo permissions when posting via web --- diff --git a/src/Model/Item.php b/src/Model/Item.php index 0dd025539a..55c27a5198 100644 --- a/src/Model/Item.php +++ b/src/Model/Item.php @@ -1035,7 +1035,7 @@ class Item } } - if ($notify) { + if ($item['origin']) { if (Photo::setPermissionFromBody($item['body'], $item['uid'], $item['contact-id'], $item['allow_cid'], $item['allow_gid'], $item['deny_cid'], $item['deny_gid'])) { $item['object-type'] = Activity\ObjectType::IMAGE; }