mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-12 01:54:26 +02: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