Revert "Check for None"

This reverts commit a40fbb7631.
This commit is contained in:
YouTwitFace 2019-10-11 11:24:14 -04:00
parent a40fbb7631
commit 2fd589aa8a

View File

@ -873,7 +873,7 @@ class ChatMethods:
) )
if isinstance(entity, types.InputPeerChannel): if isinstance(entity, types.InputPeerChannel):
if post_messages is None or edit_messages is None: if post_messages or edit_messages:
full_entity = await self.get_entity(entity) full_entity = await self.get_entity(entity)
if full_entity.megagroup: if full_entity.megagroup:
post_messages = None post_messages = None