summaryrefslogtreecommitdiffstats
path: root/src/constants.js
diff options
context:
space:
mode:
authorDaniel Calviño Sánchez <danxuliu@gmail.com>2023-02-22 02:33:41 +0100
committerDaniel Calviño Sánchez <danxuliu@gmail.com>2023-02-22 13:09:27 +0100
commit6fd87b420732e14f5b61de4e02019a6329b67f11 (patch)
treedcbcbd9eb0b1099f8bd604d5d201bb5ec7bc4902 /src/constants.js
parent03735df98854d0b27f0462d72fd797647f8cbc6e (diff)
Handle "failed" value for recording status in UI
When a recording failed an error toast is shown, but only for moderators in the call. This implies that, depending on the order of signaling messages and how the conversation data is updated, the message may not be shown if the recording fails to be stopped when the call is ended for all. Nevertheless, in that case there will still be a system message in the chat pointing out that the recording failed. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
Diffstat (limited to 'src/constants.js')
-rw-r--r--src/constants.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/constants.js b/src/constants.js
index bc7f0d3b9..88379470e 100644
--- a/src/constants.js
+++ b/src/constants.js
@@ -36,6 +36,7 @@ export const CALL = {
AUDIO: 2,
VIDEO_STARTING: 3,
AUDIO_STARTING: 4,
+ FAILED: 5,
},
}