mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-06-16 05:55:20 +00:00
Fix channel request approval service message
This commit is contained in:
parent
9daed68d53
commit
8c033a37bc
@ -490,9 +490,11 @@ func _internal_fetchAndUpdateCachedPeerData(accountPeerId: PeerId, peerId rawPee
|
||||
switch participantResult {
|
||||
case let .channelParticipant(participant, _, _):
|
||||
switch participant {
|
||||
case let .channelParticipantSelf(_, _, inviterId, invitedDate):
|
||||
case let .channelParticipantSelf(flags, _, inviterId, invitedDate):
|
||||
invitedBy = PeerId(namespace: Namespaces.Peer.CloudUser, id: PeerId.Id._internalFromInt64Value(inviterId))
|
||||
invitedOn = invitedDate
|
||||
if (flags & (1 << 0)) != 0 {
|
||||
invitedOn = invitedDate
|
||||
}
|
||||
default:
|
||||
break
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user