File tree Expand file tree Collapse file tree
apps/dav/lib/CalDAV/Status Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -81,9 +81,9 @@ public function processCalendarStatus(string $userId): void {
8181 $ currentStatus = null ;
8282 }
8383
84- if ($ currentStatus !== null && $ currentStatus ->getMessageId () === IUserStatus::MESSAGE_CALL
85- || $ currentStatus !== null && $ currentStatus ->getStatus () === IUserStatus::DND
86- || $ currentStatus !== null && $ currentStatus ->getStatus () === IUserStatus::INVISIBLE ) {
84+ if (( $ currentStatus !== null && $ currentStatus ->getMessageId () === IUserStatus::MESSAGE_CALL )
85+ || ( $ currentStatus !== null && $ currentStatus ->getStatus () === IUserStatus::DND )
86+ || ( $ currentStatus !== null && $ currentStatus ->getStatus () === IUserStatus::INVISIBLE ) ) {
8787 // We don't overwrite the call status, DND status or Invisible status
8888 $ this ->logger ->debug ('Higher priority status detected, skipping calendar status change ' , ['user ' => $ userId ]);
8989 return ;
You can’t perform that action at this time.
0 commit comments