Comment improvements

This commit is contained in:
Ali
2020-09-03 17:09:26 +01:00
parent 8e9a0da24d
commit 1b8cd5e9e0
26 changed files with 278 additions and 228 deletions

View File

@@ -65,7 +65,7 @@ public func channelAdminIds(postbox: Postbox, network: Network, peerId: PeerId,
switch participant {
case let .channelParticipantAdmin(_, userId, _, _, _, _, _):
return user.peerId.id == userId
case let .channelParticipantCreator(_, userId, _):
case let .channelParticipantCreator(_, userId, _, _):
return user.peerId.id == userId
default:
return false