Changes after code review

* Text improvements https://github.com/nextcloud/spreed/pull/8471#discussion_r1052558815
* Use constant instead of hardcoded value https://github.com/nextcloud/spreed/pull/8471#discussion_r1052559391

Signed-off-by: Vitor Mattos <vitor@php.rio>
This commit is contained in:
Vitor Mattos 2022-12-21 12:44:38 -03:00
parent 9d42bbc068
commit c999fb9e26
No known key found for this signature in database
GPG key ID: B7AB4B76A7CA7318
2 changed files with 3 additions and 3 deletions

View file

@ -91,8 +91,8 @@
| `participants` | array | v1 | v2 | **Removed** |
| `guestList` | string | v1 | v2 | **Removed** |
| `avatarUrl` | string | v4 | | Avatar URL of the conversation including a version flag `v=…` for easier expiration of the avatar in case a moderator updates it, since the avatar endpoint should be cached for 24 hours. |
| `callStartTime` | int | v4 | | Call start time |
| `callRecording` | int | v4 | | Call recording status |
| `callStartTime` | int | v4 | | Timestamp when the call was started (only available with `recording-v1` capability) |
| `callRecording` | int | v4 | | Type of call recording (see [Constants - Call recording status](constants.md#call-recording-status)) (only available with `recording-v1` capability) |
## Creating a new conversation

View file

@ -399,7 +399,7 @@ class RoomController extends AEnvironmentAwareController {
'hasPassword' => $room->hasPassword(),
'hasCall' => false,
'callStartTime' => 0,
'callRecording' => 0,
'callRecording' => Room::RECORDING_NONE,
'canStartCall' => false,
'lastActivity' => 0,
'lastReadMessage' => 0,