mirror of
https://github.com/friendica/friendica
synced 2025-04-28 00:30:10 +00:00
Improved handling of several object types
This commit is contained in:
parent
43b9e39c6a
commit
a8c6160dd7
3 changed files with 17 additions and 5 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue