diff options
author | Vincent Petry <vincent@nextcloud.com> | 2021-06-22 18:56:35 +0300 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2021-06-23 10:10:39 +0300 |
commit | 7b6d5b956c82b6498c84153fc2754658c3e6b7ba (patch) | |
tree | e0c46aad1340b92c7bcbb32532089d8713b6e520 | |
parent | 40ec034568336675c9d3230ee2df6afb26a0ea87 (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>
-rw-r--r-- | src/components/NewMessageForm/NewMessageForm.vue | 4 |
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')" |