Skip to content

Commit

Permalink
fixup! fix(ooo): add new ooo status with new emoji
Browse files Browse the repository at this point in the history
  • Loading branch information
miaulalala committed Dec 15, 2023
1 parent 556125e commit 4ff584f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ public function __construct(private IJobList $jobsList,
*/
public function handle(Event $event): void {
if($event instanceof OutOfOfficeClearedEvent) {
$this->manager->revertUserStatus($event->getData()->getUser()->getUID(), IUserStatus::MESSAGE_VACATION, IUserStatus::DND);
$this->manager->revertUserStatus($event->getData()->getUser()->getUID(), IUserStatus::MESSAGE_OUT_OF_OFFICE, IUserStatus::DND);
$this->jobsList->scheduleAfter(UserStatusAutomation::class, $this->time->getTime(), ['userId' => $event->getData()->getUser()->getUID()]);
return;
}
Expand Down

0 comments on commit 4ff584f

Please sign in to comment.