Skip to content

Commit

Permalink
hotfix: issue评论没有空格
Browse files Browse the repository at this point in the history
  • Loading branch information
freeziyou committed Feb 2, 2024
1 parent 6efa703 commit 0d211bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/tasks/lark/issue.py
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,7 @@ def gen_comment_post_message(user_name, comment):
messages.append([FeishuPostMessageImage(image_key=line)])
else:
# 处理每行 at, 普通文本
elements = line.split(" ")
elements = re.findall(r"\S+|\s+", line)
element_messages = []
for element in elements:
if element.startswith("@"):
Expand Down

0 comments on commit 0d211bc

Please sign in to comment.