瀏覽代碼

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)