mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-07 14:53:35 +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 {
|
||||
case let .channelParticipantAdmin(_, userId, _, _, _, _):
|
||||
return user.peerId.id == userId
|
||||
case let .channelParticipantCreator(userId):
|
||||
return user.peerId.id == userId
|
||||
default:
|
||||
return false
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user