Increase voice message recording limit to 3 minutes

This commit is contained in:
Niels Andriesse 2021-08-03 09:12:01 +10:00
parent 1543dc7b1f
commit 593ab49952
1 changed files with 1 additions and 1 deletions

View File

@ -689,7 +689,7 @@ extension ConversationVC : InputViewDelegate, MessageCellDelegate, ContextMenuAc
return cancelVoiceMessageRecording()
}
// Limit voice messages to a minute
audioTimer = Timer.scheduledTimer(withTimeInterval: 60, repeats: false, block: { [weak self] _ in
audioTimer = Timer.scheduledTimer(withTimeInterval: 180, repeats: false, block: { [weak self] _ in
self?.snInputView.hideVoiceMessageUI()
self?.endVoiceMessageRecording()
})