From 116708613a85f0a256a143c32982fc31e1b0466e Mon Sep 17 00:00:00 2001 From: Johannes Marbach Date: Wed, 7 Jun 2023 09:44:13 +0200 Subject: [PATCH] Increase max. length of voice message recordings to 5m --- Riot/Modules/Room/VoiceMessages/VoiceMessageController.swift | 2 +- changelog.d/pr-7582.feature | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 changelog.d/pr-7582.feature diff --git a/Riot/Modules/Room/VoiceMessages/VoiceMessageController.swift b/Riot/Modules/Room/VoiceMessages/VoiceMessageController.swift index bd2ef8bf67..b520a7b218 100644 --- a/Riot/Modules/Room/VoiceMessages/VoiceMessageController.swift +++ b/Riot/Modules/Room/VoiceMessages/VoiceMessageController.swift @@ -27,7 +27,7 @@ import DSWaveformImage public class VoiceMessageController: NSObject, VoiceMessageToolbarViewDelegate, VoiceMessageAudioRecorderDelegate, VoiceMessageAudioPlayerDelegate { private enum Constants { - static let maximumAudioRecordingDuration: TimeInterval = 120.0 + static let maximumAudioRecordingDuration: TimeInterval = 300.0 static let maximumAudioRecordingLengthReachedThreshold: TimeInterval = 10.0 static let elapsedTimeFormat = "m:ss" static let fileNameDateFormat = "MM.dd.yyyy HH.mm.ss" diff --git a/changelog.d/pr-7582.feature b/changelog.d/pr-7582.feature new file mode 100644 index 0000000000..c0248da6e7 --- /dev/null +++ b/changelog.d/pr-7582.feature @@ -0,0 +1 @@ + Increase max. length of voice message recordings to 5m