Skip to content

Commit

Permalink
fixup! feat(call): Direct endpoint to check if call notification shou…
Browse files Browse the repository at this point in the history
…ld be dismissed
  • Loading branch information
nickvergessen committed Dec 4, 2024
1 parent 20eb5b6 commit de23b4b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/capabilities.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
3 changes: 1 addition & 2 deletions lib/Controller/CallNotificationController.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit de23b4b

Please sign in to comment.