fix #IBFKMS 18优化app_chatgpt的bug报告

This commit is contained in:
Chill
2025-01-06 16:18:23 +08:00
parent 4d18906bc2
commit 732b29d349
3 changed files with 3 additions and 3 deletions

View File

@@ -246,7 +246,7 @@ class Channel(models.Model):
msg = _("Please warmly welcome our new partner %s and send him the best wishes.") % message.author_id.name
else:
# 不能用 preview 如果用 : 提示词则 preview信息丢失
plaintext_ct = tools.html_to_inner_content(message.body)
plaintext_ct = tools.mail.html_to_inner_content(message.body)
msg = plaintext_ct.replace('@%s' % answer_id.name, '').lstrip()
if not msg: