From 1a86aaa4625a978d14042914b5308cb358f2f54e Mon Sep 17 00:00:00 2001 From: freeziyou <80776877@qq.com> Date: Fri, 26 Jan 2024 15:38:44 +0800 Subject: [PATCH] add comment --- server/tasks/lark/chat.py | 1 + 1 file changed, 1 insertion(+) diff --git a/server/tasks/lark/chat.py b/server/tasks/lark/chat.py index 2521c58e..ca3d1177 100644 --- a/server/tasks/lark/chat.py +++ b/server/tasks/lark/chat.py @@ -158,6 +158,7 @@ def create_issue( message_type = data["event"]["message"].get("message_type", None) if "post" == message_type: content, title = post_content_to_markdown(content, False) + # desc 从 body 第二行开始读取,第一行作为 /issue @user labels 解析 body = "\n".join(content.split("\n")[1:]) # 如果title是空的,尝试从parent_message拿到内容