소스 검색

Log when starting to send a message

Tulir Asokan 4 년 전
부모
커밋
671296520a
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      mautrix_signal/portal.py

+ 1 - 0
mautrix_signal/portal.py

@@ -217,6 +217,7 @@ class Portal(DBPortal, BasePortal):
         else:
             self.log.debug(f"Unknown msgtype {message.msgtype} in Matrix message {event_id}")
             return
+        self.log.debug(f"Sending Matrix message {event_id} to Signal with timestamp {request_id}")
         await self.signal.send(username=sender.username, recipient=self.chat_id, body=text,
                                mentions=mentions, quote=quote, attachments=attachments,
                                timestamp=request_id)