Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

修复无法入库消息发送到 Telegram 时格式异常 #1228

Merged
merged 1 commit into from
Dec 11, 2023

Conversation

EkkoG
Copy link
Contributor

@EkkoG EkkoG commented Dec 11, 2023

由于 Telegram 发送消息的实现将 title 包在了一个加粗的 tag 中 https://github.com/jxxghp/MoviePilot/blob/7d7539df4cae2ad47ec14852b6beca5875d7017a/app/modules/telegram/telegram.py#L83C26-L83C26

导致其中的代码块异常
CleanShot 2023-12-11 at 17 53 35@2x

PR 将消息拆分成了 title 和 text,代码块放在了 text 中,显示就正常了
CleanShot 2023-12-11 at 17 54 39@2x

同时检查了,其他推送渠道都是将 title 和 text 拼接,应该是没有影响的

@jxxghp jxxghp merged commit 48badb3 into jxxghp:main Dec 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants