Improved handling of several object types

This commit is contained in:
Michael 2022-01-23 04:40:45 +00:00
parent 43b9e39c6a
commit a8c6160dd7
3 changed files with 17 additions and 5 deletions

View file

@ -258,6 +258,8 @@ class Processor
$item['post-type'] = Item::PT_IMAGE;
} elseif ($activity['object_type'] == 'as:Page') {
$item['post-type'] = Item::PT_PAGE;
} elseif ($activity['object_type'] == 'as:Question') {
$item['post-type'] = Item::PT_POLL;
} elseif ($activity['object_type'] == 'as:Video') {
$item['post-type'] = Item::PT_VIDEO;
} else {