diff options
author | Joas Schilling <coding@schilljs.com> | 2021-09-02 11:02:54 +0300 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2021-09-02 11:02:54 +0300 |
commit | 04cc95dfcec47f699b7a5a8e3a1a929143b7ea5b (patch) | |
tree | 2b7d3e345cf95fe0c3d564dfce42feaac1c5d1b6 /src | |
parent | d9af8d76ad2ee82b8462a029c19b32efd0629298 (diff) |
Add more buffer on file name length so "(1)" and other things work
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/components/NewMessageForm/AudioRecorder/AudioRecorder.vue | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/NewMessageForm/AudioRecorder/AudioRecorder.vue b/src/components/NewMessageForm/AudioRecorder/AudioRecorder.vue index 065f6016c..06bc71e58 100644 --- a/src/components/NewMessageForm/AudioRecorder/AudioRecorder.vue +++ b/src/components/NewMessageForm/AudioRecorder/AudioRecorder.vue @@ -318,7 +318,7 @@ export default { let time = today.getFullYear() + '-' + ('0' + today.getMonth()).slice(-2) + '-' + ('0' + today.getDay()).slice(-2) time += ' ' + ('0' + today.getHours()).slice(-2) + '-' + ('0' + today.getMinutes()).slice(-2) + '-' + ('0' + today.getSeconds()).slice(-2) const name = t('spreed', 'Talk recording from {time} ({conversation})', { time, conversation }) - return name.substring(0, 246) + '.wav' + return name.substring(0, 146) + '.wav' }, /** |