Browse Source

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>
pull/8471/head
Vitor Mattos 3 years ago
parent
commit
c999fb9e26
No known key found for this signature in database GPG Key ID: B7AB4B76A7CA7318
  1. 4
      docs/conversation.md
  2. 2
      lib/Controller/RoomController.php

4
docs/conversation.md

@ -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

2
lib/Controller/RoomController.php

@ -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,

Loading…
Cancel
Save