Skip to content

Commit

Permalink
Merge pull request #236 from ConnectAI-E/freeziyou-022602
Browse files Browse the repository at this point in the history
修复多仓库Issue pr交互
  • Loading branch information
lloydzhou authored Feb 26, 2024
2 parents 53464aa + f9681bb commit 7d35b2c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion server/tasks/lark/chat.py
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ def create_issue(
if len(repos) == 0:
root_id = data["event"]["message"].get("root_id", "")
if root_id:
repo, issue, pr = tasks.get_git_object_by_message_id(root_id)
repo, issue, pr = get_git_object_by_message_id(root_id)
if repo:
repos = [repo]
elif issue or pr:
Expand Down
4 changes: 4 additions & 0 deletions server/utils/lark/chat_manual.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@ def __init__(
# if len(actions) > 0
# else None,
# ),
FeishuMessageDiv(
content="**🗄 关联新仓库至当前群聊 **\n*群聊下回复「/match + repo url」 *",
tag="lark_md",
),
FeishuMessageDiv(
content=f"**⚡️ 前往 GitHub 查看 Repo 主页 **\n*群聊下回复「/view」 *",
tag="lark_md",
Expand Down

0 comments on commit 7d35b2c

Please sign in to comment.