Increase voice message recording limit to 3 minutes
This commit is contained in:
parent
1543dc7b1f
commit
593ab49952
|
@ -689,7 +689,7 @@ extension ConversationVC : InputViewDelegate, MessageCellDelegate, ContextMenuAc
|
||||||
return cancelVoiceMessageRecording()
|
return cancelVoiceMessageRecording()
|
||||||
}
|
}
|
||||||
// Limit voice messages to a minute
|
// 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?.snInputView.hideVoiceMessageUI()
|
||||||
self?.endVoiceMessageRecording()
|
self?.endVoiceMessageRecording()
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue