Skip to content

Commit

Permalink
Move handle_telegram_text log to trace level (ref #321)
Browse files Browse the repository at this point in the history
  • Loading branch information
tulir committed Jul 4, 2020
1 parent 44a102c commit dd69204
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mautrix_telegram/portal/telegram.py
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ def handle_telegram_location(self, source: 'AbstractUser', intent: IntentAPI, ev

async def handle_telegram_text(self, source: 'AbstractUser', intent: IntentAPI, is_bot: bool,
evt: Message) -> EventID:
self.log.debug(f"Sending {evt.message} to {self.mxid} by {intent.mxid}")
self.log.trace(f"Sending {evt.message} to {self.mxid} by {intent.mxid}")
content = await formatter.telegram_to_matrix(evt, source, self.main_intent)
content.external_url = self._get_external_url(evt)
if is_bot and self.get_config("bot_messages_as_notices"):
Expand Down

0 comments on commit dd69204

Please sign in to comment.