Files
DeepTutor/deeptutor/partners
RRFZ 4838e77387 fix(partners): name only the file when Telegram media fails to send
When a media attachment cannot be sent, the Telegram channel tells the
chat "[Failed to send: <name>]", taking the name with
media_path.rsplit("/", 1)[-1]. A Windows server's path has no "/", so
the chat received the server's full local path instead, exposing the
account name and directory layout to everyone in the chat.

Use Path(media_path).name, as the WeChat channel already does.
2026-10-31 21:25:46 -04:00
..
2026-08-25 02:24:35 +08:00