Compare commits
1 commit
2b8126b780
...
03f5e7a952
Author | SHA1 | Date | |
---|---|---|---|
03f5e7a952 |
|
@ -1078,7 +1078,7 @@ class Item
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($item['origin']) {
|
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'])) {
|
if (($item['object-type'] != Activity\ObjectType::EVENT) && 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;
|
$item['object-type'] = Activity\ObjectType::IMAGE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue