added static status
Some checks failed
Some checks failed
This commit is contained in:
parent
2e8d7306bf
commit
fdb4f000a3
1 changed files with 10 additions and 0 deletions
|
@ -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();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue