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(
|
async def _handle_kakaotalk_deleted(
|
||||||
self,
|
self,
|
||||||
attachment: Attachment | None,
|
|
||||||
timestamp: int,
|
timestamp: int,
|
||||||
chat_text: str | None,
|
|
||||||
**_
|
**_
|
||||||
) -> list[EventID]:
|
) -> list[EventID]:
|
||||||
self.log.info(
|
self.log.info(f"Got deleted (?) message at {timestamp}")
|
||||||
"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",
|
|
||||||
)
|
|
||||||
return []
|
return []
|
||||||
|
|
||||||
async def _handle_kakaotalk_text(
|
async def _handle_kakaotalk_text(
|
||||||
|
|
Loading…
Reference in New Issue