Fix copy-paste typo

This commit is contained in:
Lonami Exo 2018-06-02 12:38:03 +02:00
parent 68bb8e8b91
commit afbba219d5

View File

@ -31,7 +31,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