Skip to content

Commit 257f5dd

Browse files
committed
bump
1 parent 907af9d commit 257f5dd

File tree

4 files changed

+12
-5
lines changed

4 files changed

+12
-5
lines changed

Telegram-Mac/Info.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
</dict>
3636
</array>
3737
<key>CFBundleVersion</key>
38-
<string>272029</string>
38+
<string>272030</string>
3939
<key>ITSAppUsesNonExemptEncryption</key>
4040
<false/>
4141
<key>LSApplicationCategoryType</key>

Telegram-Mac/PresentationGroupCall.swift

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2958,6 +2958,13 @@ final class PresentationGroupCallImpl: PresentationGroupCall {
29582958
}
29592959
strongSelf.participantsContext?.updateVideoState(peerId: strongSelf.joinAsPeerId, isVideoMuted: nil, isVideoPaused: false, isPresentationPaused: paused)
29602960
})
2961+
2962+
var encryptionContext: OngoingGroupCallEncryptionContext?
2963+
if let e2eContext = self.e2eContext {
2964+
encryptionContext = OngoingGroupCallEncryptionContextImpl(e2eCall: e2eContext.state, channelId: 1)
2965+
} else if self.isConference {
2966+
encryptionContext = OngoingGroupCallEncryptionContextImpl(e2eCall: Atomic(value: ConferenceCallE2EContext.ContextStateHolder()), channelId: 1)
2967+
}
29612968

29622969
let screencastCallContext = OngoingGroupCallContext(audioSessionActive: .single(true), video: self.screenCapturer, requestMediaChannelDescriptions: { _, completion in
29632970
completion([])
@@ -2972,11 +2979,11 @@ final class PresentationGroupCallImpl: PresentationGroupCall {
29722979
prioritizeVP8: false,
29732980
logPath: "",
29742981
onMutedSpeechActivityDetected: { _ in },
2975-
isConference: isConference,
2982+
isConference: false,
29762983
audioIsActiveByDefault: false,
29772984
isStream: false,
29782985
sharedAudioDevice: nil,
2979-
encryptionContext: nil
2986+
encryptionContext: encryptionContext
29802987
)
29812988

29822989
self.screencastCallContext = screencastCallContext

TelegramShare/Info.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
<key>CFBundleShortVersionString</key>
2222
<string>$(MARKETING_VERSION)</string>
2323
<key>CFBundleVersion</key>
24-
<string>272029</string>
24+
<string>272030</string>
2525
<key>ITSAppUsesNonExemptEncryption</key>
2626
<false/>
2727
<key>LSMinimumSystemVersion</key>

submodules/tgcalls

0 commit comments

Comments
 (0)