Video message recording improvements

This commit is contained in:
Ilya Laktyushin
2024-01-14 10:54:16 +04:00
parent 2bccbfea3b
commit 40c4378bde
7 changed files with 185 additions and 88 deletions

View File

@@ -1219,7 +1219,7 @@ public class VideoMessageCameraScreen: ViewController {
self.updatedPresentationData = updatedPresentationData
self.inputPanelFrame = inputPanelFrame
self.allowLiveUpload = peerId.namespace != Namespaces.Peer.SecretChat
self.viewOnceAvailable = peerId.namespace == Namespaces.Peer.CloudUser
self.viewOnceAvailable = peerId.namespace == Namespaces.Peer.CloudUser && peerId != context.account.peerId
self.completion = completion
self.recordingStatus = RecordingStatus(micLevel: self.micLevelValue.get(), duration: self.durationValue.get())