added static status
Some checks failed
PHP Code Checker / PHP Code Checker (pull_request) Failing after 41s
PHPUnit / PHPUnit – PHP 8.1 (pull_request) Successful in 1m5s
PHPUnit / PHPUnit – PHP 8.2 (pull_request) Successful in 1m5s
PHPUnit / PHPUnit – PHP 8.3 (pull_request) Successful in 1m5s

This commit is contained in:
ruru4143 2024-10-10 14:44:26 +02:00
parent 2e8d7306bf
commit fdb4f000a3

View file

@ -105,6 +105,16 @@ final class My_Calendar extends Event_Transformer {
return null; 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 { public function to_object(): Event {
$activitypub_object = parent::to_object(); $activitypub_object = parent::to_object();