]> git.mxchange.org Git - friendica.git/blobdiff - src/Model/Event.php
Merge pull request #10133 from annando/notice
[friendica.git] / src / Model / Event.php
index 69fcd5e90ab04852e689470daffca38cd05bff1f..d2bc6ab86a7e6760ac14202c1be6a9111ebd1564 100644 (file)
@@ -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'];