diff --git a/docs/capabilities.md b/docs/capabilities.md index 087e88571a5..8335ec6ee88 100644 --- a/docs/capabilities.md +++ b/docs/capabilities.md @@ -170,4 +170,4 @@ ## 21 * `config => conversations => force-passwords` - Whether passwords are enforced for public rooms * `conversation-creation-password` - Whether the endpoints for creating public conversations or making a conversation public support setting a password -* `call-notification-state-api` - Whether the endpoints exists to checking if a call notification should be dismissed +* `call-notification-state-api` - Whether the endpoints exists for checking if a call notification should be dismissed diff --git a/lib/Controller/CallNotificationController.php b/lib/Controller/CallNotificationController.php index dde7ca779be..31f1a881541 100644 --- a/lib/Controller/CallNotificationController.php +++ b/lib/Controller/CallNotificationController.php @@ -57,8 +57,7 @@ public function state(string $token): DataResponse { self::CASE_PARTICIPANT_JOINED, self::CASE_ROOM_NOT_FOUND => Http::STATUS_NOT_FOUND, self::CASE_MISSED_CALL => Http::STATUS_CREATED, - // self::CASE_STILL_CURRENT, - default => Http::STATUS_OK, + self::CASE_STILL_CURRENT => Http::STATUS_OK, }; return new DataResponse(null, $status);