Merge pull request #3 from hagenest/rm_log_message

Remove logging of incoming messages
This commit is contained in:
missytake 2024-04-10 14:11:39 +02:00 committed by GitHub
commit 93c0405629
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -68,12 +68,6 @@ class RelayPlugin:
@account_hookimpl
def ac_incoming_message(self, message: deltachat.Message):
"""This method is called on every incoming message and decides what to do with it."""
logging.info(
"New message from %s in chat %s: %s",
message.get_sender_contact().addr,
message.chat.get_name(),
message.text,
)
if message.is_system_message():
if message.chat.id == self.crew.id: