remove extraneous assignment

This commit is contained in:
Sebastian Law 2020-12-22 04:18:32 -08:00 committed by GitHub
parent 116fdbddb9
commit 36292a65ea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -688,8 +688,6 @@ class ConnectionState:
log.debug('CHANNEL_CREATE referencing an unknown channel type %s. Discarding.', data['type'])
return
channel = None
if ch_type in (ChannelType.group, ChannelType.private):
channel_id = int(data['id'])
if self._get_private_channel(channel_id) is None: