Restore attendance icons in event posts
- Co-authored by @mexon
This commit is contained in:
parent
72dbc7377b
commit
c822baa9c6
|
@ -1078,7 +1078,10 @@ class Item
|
|||
}
|
||||
|
||||
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 (
|
||||
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::EVENT)
|
||||
) {
|
||||
$item['object-type'] = Activity\ObjectType::IMAGE;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user