mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-07-15 18:42:23 +03:00
Fix copy-paste typo
This commit is contained in:
parent
6dcd0911a7
commit
5c76af34aa
|
@ -29,7 +29,7 @@ class NewMessage(EventBuilder):
|
||||||
if incoming is not None and outgoing is None:
|
if incoming is not None and outgoing is None:
|
||||||
outgoing = not incoming
|
outgoing = not incoming
|
||||||
elif outgoing is not None and incoming is None:
|
elif outgoing is not None and incoming is None:
|
||||||
incoming = not incoming
|
incoming = not outgoing
|
||||||
|
|
||||||
if incoming and outgoing:
|
if incoming and outgoing:
|
||||||
self.incoming = self.outgoing = None # Same as no filter
|
self.incoming = self.outgoing = None # Same as no filter
|
||||||
|
|
Loading…
Reference in New Issue
Block a user