mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 22:55:00 +00:00
Merge commit '18f5f3d0d3beb4f3fabe2ebf5575104d5b7cc749'
This commit is contained in:
@@ -250,7 +250,7 @@ public final class PresentationGroupCallImpl: PresentationGroupCall {
|
||||
public var participantCount: Int
|
||||
public var topParticipants: [GroupCallParticipantsContext.Participant]
|
||||
public var activeSpeakers: Set<PeerId>
|
||||
|
||||
|
||||
public init(
|
||||
participantCount: Int,
|
||||
topParticipants: [GroupCallParticipantsContext.Participant],
|
||||
@@ -352,7 +352,7 @@ public final class PresentationGroupCallImpl: PresentationGroupCall {
|
||||
private var initialCall: CachedChannelData.ActiveCall?
|
||||
public let internalId: CallSessionInternalId
|
||||
public let peerId: PeerId
|
||||
private let invite: String?
|
||||
private var invite: String?
|
||||
private var joinAsPeerId: PeerId
|
||||
private var ignorePreviousJoinAsPeerId: (PeerId, UInt32)?
|
||||
|
||||
@@ -1719,6 +1719,11 @@ public final class PresentationGroupCallImpl: PresentationGroupCall {
|
||||
}
|
||||
}
|
||||
|
||||
public func reconnect(with invite: String) {
|
||||
self.invite = invite
|
||||
self.requestCall(movingFromBroadcastToRtc: false)
|
||||
}
|
||||
|
||||
public func reconnect(as peerId: PeerId) {
|
||||
if peerId == self.joinAsPeerId {
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user