mirror of
https://github.com/friendica/friendica
synced 2024-11-18 20:23:44 +00:00
Issue 12764: Fix photo permissions when posting via web
This commit is contained in:
parent
544348c25a
commit
4d4e34dc64
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue