Don't log contents of what look to be inbound deleted chats
This commit is contained in:
parent
73f8792b75
commit
b9cf30e9e6
|
@ -1131,17 +1131,10 @@ class Portal(DBPortal, BasePortal):
|
|||
|
||||
async def _handle_kakaotalk_deleted(
|
||||
self,
|
||||
attachment: Attachment | None,
|
||||
timestamp: int,
|
||||
chat_text: str | None,
|
||||
**_
|
||||
) -> list[EventID]:
|
||||
self.log.info(
|
||||
"Got deleted (?) message at %s: %s, %s",
|
||||
timestamp,
|
||||
f"text = \"{chat_text}\"" if chat_text is not None else "no text",
|
||||
f"attachment = {attachment}" if attachment is not None else "no attachment",
|
||||
)
|
||||
self.log.info(f"Got deleted (?) message at {timestamp}")
|
||||
return []
|
||||
|
||||
async def _handle_kakaotalk_text(
|
||||
|
|
Loading…
Reference in New Issue