mirror of
https://github.com/friendica/friendica
synced 2025-04-22 09:10:10 +00:00
"post-reason" ends double usage of "post-type"
This commit is contained in:
parent
9a3a7793f0
commit
688e056ad1
13 changed files with 159 additions and 76 deletions
|
@ -381,6 +381,7 @@ class Event
|
|||
$item_arr['visible'] = 1;
|
||||
$item_arr['verb'] = Activity::POST;
|
||||
$item_arr['object-type'] = Activity\ObjectType::EVENT;
|
||||
$item_arr['post-type'] = Item::PT_EVENT;
|
||||
$item_arr['origin'] = $event['cid'] === 0 ? 1 : 0;
|
||||
$item_arr['body'] = self::getBBCode($event);
|
||||
$item_arr['event-id'] = $event['id'];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue