no message

This commit is contained in:
overtake 2018-08-28 13:09:12 +03:00
parent 844392f644
commit e299f91950

View File

@ -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
} }