Skip to content

Commit

Permalink
fixup! enh(userstatus): add OOO automation and remove calendar automa…
Browse files Browse the repository at this point in the history
…tion
  • Loading branch information
miaulalala committed Nov 27, 2023
1 parent 91ead52 commit 07952c9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion apps/dav/lib/Db/Absence.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,13 +58,15 @@ class Absence extends Entity implements JsonSerializable {
protected string $lastDay = '';

protected string $status = '';
protected ?string $message = null;

protected string $message = '';

public function __construct() {
$this->addType('userId', 'string');
$this->addType('firstDay', 'string');
$this->addType('lastDay', 'string');
$this->addType('status', 'string');
$this->addType('message', 'string');
}

public function toOutOufOfficeData(IUser $user, string $timezone): IOutOfOfficeData {
Expand Down

0 comments on commit 07952c9

Please sign in to comment.