Skip to content

Commit

Permalink
logging the decision to ignore admin group chatter
Browse files Browse the repository at this point in the history
  • Loading branch information
missytake committed Jan 20, 2023
1 parent cb0e958 commit fde5115
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/mailadm/bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@ def ac_incoming_message(self, message: deltachat.Message):
if message.text[0] == "/":
logging.info("%s seems to be a valid command.", message.text)
self.handle_command(message)
else:
logging.info("ignoring message, it's just admins discussing in the admin group")
elif self.is_support_group(message.chat):
if message.quote:
if message.quote.get_sender_contact().addr == self.account.get_config("addr"):
Expand Down

0 comments on commit fde5115

Please sign in to comment.