WIP: mycalendar transformer closes #54 #57

Draft
ruru4143 wants to merge 5 commits from mycalendar-init into main
Showing only changes of commit fdb4f000a3 - Show all commits

View file

@ -105,6 +105,16 @@ final class My_Calendar extends Event_Transformer {
return null;
}
/**
* Get status of the event
*
* @return string status of the event
*/
public function get_status(): ?string {
return 'CONFIRMED'; # my-calender doesn't implement canceled events.
}
public function to_object(): Event {
$activitypub_object = parent::to_object();