Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/spreed.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVincent Petry <vincent@nextcloud.com>2021-06-22 18:56:35 +0300
committerJoas Schilling <coding@schilljs.com>2021-06-23 10:10:39 +0300
commit7b6d5b956c82b6498c84153fc2754658c3e6b7ba (patch)
treee0c46aad1340b92c7bcbb32532089d8713b6e520 /src/components/NewMessageForm
parent40ec034568336675c9d3230ee2df6afb26a0ea87 (diff)
Remove voice recording for guests
Guests currently have no way of uploading files, pictures, so voice recordings fall under the same category. Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Diffstat (limited to 'src/components/NewMessageForm')
-rw-r--r--src/components/NewMessageForm/NewMessageForm.vue4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/NewMessageForm/NewMessageForm.vue b/src/components/NewMessageForm/NewMessageForm.vue
index cd9e0d3ab..c689a3eff 100644
--- a/src/components/NewMessageForm/NewMessageForm.vue
+++ b/src/components/NewMessageForm/NewMessageForm.vue
@@ -105,12 +105,12 @@
</div>
<AudioRecorder
- v-if="!hasText"
+ v-if="!hasText && canUploadFiles"
@recording="handleRecording"
@audioFile="handleAudioFile" />
<button
- v-if="hasText"
+ v-else
:disabled="disabled"
type="submit"
:aria-label="t('spreed', 'Send message')"