diff --git a/nicobot/signalcli.py b/nicobot/signalcli.py index f6544ee..df9aeeb 100755 --- a/nicobot/signalcli.py +++ b/nicobot/signalcli.py @@ -135,14 +135,12 @@ def filterMessages( self, events ): if envelope['source'] == self.recipient: logging.debug("<<< %s" % message) self.bot.onMessage(message) - return True else: logging.debug("Discarding message not from recipient %s"%self.recipient) elif self.group: if dataMessage['groupInfo'] and dataMessage['groupInfo']['groupId']: logging.debug("<<< %s" % message) self.bot.onMessage(message) - return True else: logging.debug("Discarding message not from group %s" % self.group) else: @@ -154,8 +152,6 @@ def filterMessages( self, events ): else: logging.debug("Discarding message that was sent before I started") - return False - # if __name__ == '__main__':