mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-05 05:51:42 +00:00
no message
This commit is contained in:
parent
844392f644
commit
e299f91950
@ -68,6 +68,8 @@ public func channelAdminIds(postbox: Postbox, network: Network, peerId: PeerId,
|
|||||||
switch participant {
|
switch participant {
|
||||||
case let .channelParticipantAdmin(_, userId, _, _, _, _):
|
case let .channelParticipantAdmin(_, userId, _, _, _, _):
|
||||||
return user.peerId.id == userId
|
return user.peerId.id == userId
|
||||||
|
case let .channelParticipantCreator(userId):
|
||||||
|
return user.peerId.id == userId
|
||||||
default:
|
default:
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user