diff options
author | Joas Schilling <coding@schilljs.com> | 2023-01-23 14:57:51 +0100 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2023-01-23 14:57:51 +0100 |
commit | eca2446c5a6b35c6eeff723e0c2e60ff9fafa531 (patch) | |
tree | 1bd6a3b4781fd9f833bfd2a569564173c7c50beb /src | |
parent | c8494a056e7cdc9a2616b9ea3cb9bb9d0cd6c1fd (diff) |
Add showSuccess/showInfo on start and stop
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/store/conversationsStore.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/store/conversationsStore.js b/src/store/conversationsStore.js index f9535540d..3fdc1b15c 100644 --- a/src/store/conversationsStore.js +++ b/src/store/conversationsStore.js @@ -47,6 +47,7 @@ import { startCallRecording, stopCallRecording, } from '../services/recordingService.js' +import { showInfo, showSuccess } from '@nextcloud/dialogs' import { getCurrentUser } from '@nextcloud/auth' // eslint-disable-next-line import/extensions import { @@ -549,6 +550,8 @@ const actions = { } catch (e) { console.error(e) } + + showSuccess(t('spreed', 'Call recording started.')) context.commit('setCallRecording', { token, callRecording }) }, @@ -558,6 +561,8 @@ const actions = { } catch (e) { console.error(e) } + + showInfo(t('spreed', 'Call recording stopped. You will be notified once the recording is available.')) context.commit('setCallRecording', { token, callRecording: CALL.RECORDING.OFF }) }, } |