diff --git a/submodules/TelegramCore/Sources/GroupCalls.swift b/submodules/TelegramCore/Sources/GroupCalls.swift index 9f9cf814fd..0f2baad395 100644 --- a/submodules/TelegramCore/Sources/GroupCalls.swift +++ b/submodules/TelegramCore/Sources/GroupCalls.swift @@ -699,7 +699,7 @@ private func binaryInsertionIndex(_ inputArr: [GroupCallParticipantsContext.Part } public final class GroupCallParticipantsContext { - public struct Participant: Equatable { + public struct Participant: Equatable, CustomStringConvertible { public struct MuteState: Equatable { public var canUnmute: Bool public var mutedByYou: Bool @@ -747,6 +747,10 @@ public final class GroupCallParticipantsContext { self.volume = volume self.about = about } + + public var description: String { + return "Participant(peer: \(peer.id): \(peer.debugDisplayTitle), ssrc: \(String(describing: self.ssrc))" + } public mutating func mergeActivity(from other: Participant, mergeActivityTimestamp: Bool) { self.activityRank = other.activityRank @@ -1311,6 +1315,8 @@ public final class GroupCallParticipantsContext { self.isLoadingMore = true let ssrcs = self.missingSsrcs + + Logger.shared.log("GroupCallParticipantsContext", "will request ssrcs=\(ssrcs)") self.disposable.set((getGroupCallParticipants(account: self.account, callId: self.id, accessHash: self.accessHash, offset: "", ssrcs: Array(ssrcs), limit: 100, sortAscending: true) |> deliverOnMainQueue).start(next: { [weak self] state in @@ -1320,6 +1326,8 @@ public final class GroupCallParticipantsContext { strongSelf.isLoadingMore = false strongSelf.missingSsrcs.subtract(ssrcs) + + Logger.shared.log("GroupCallParticipantsContext", "did receive response for ssrcs=\(ssrcs), \(state.participants)") var updatedState = strongSelf.stateValue.state diff --git a/versions.json b/versions.json index 2367d98151..9d5f5f8445 100644 --- a/versions.json +++ b/versions.json @@ -1,5 +1,5 @@ { - "app": "7.6", + "app": "7.6.1", "bazel": "4.0.0", "xcode": "12.4" }