mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-24 07:05:35 +00:00
Initial ad messages implementation
This commit is contained in:
@@ -2859,14 +2859,14 @@ public final class PresentationGroupCallImpl: PresentationGroupCall {
|
||||
}
|
||||
}
|
||||
|
||||
public func setShouldBeRecording(_ shouldBeRecording: Bool, title: String?) {
|
||||
public func setShouldBeRecording(_ shouldBeRecording: Bool, title: String?, videoOrientation: Bool?) {
|
||||
if !self.stateValue.canManageCall {
|
||||
return
|
||||
}
|
||||
if (self.stateValue.recordingStartTimestamp != nil) == shouldBeRecording {
|
||||
return
|
||||
}
|
||||
self.participantsContext?.updateShouldBeRecording(shouldBeRecording, title: title)
|
||||
self.participantsContext?.updateShouldBeRecording(shouldBeRecording, title: title, videoOrientation: videoOrientation)
|
||||
}
|
||||
|
||||
private func requestCall(movingFromBroadcastToRtc: Bool) {
|
||||
|
||||
Reference in New Issue
Block a user