Skip to content

fix(lark): 授权提醒卡片@被授权人#423

Closed
deepcoldy wants to merge 1 commit into
masterfrom
fix/grant-card-mention
Closed

fix(lark): 授权提醒卡片@被授权人#423
deepcoldy wants to merge 1 commit into
masterfrom
fix/grant-card-mention

Conversation

@deepcoldy

Copy link
Copy Markdown
Owner

变更

授权申请卡片在请求方名称解析不到时不再展示裸 ou_ ID,改为直接 @ 被授权人。

原因

外部 bot/用户可能不出现在当前消息 mentions,名称回退为 open_id。

验证

  • pnpm build
  • pnpm test -- --run test/grant-card.test.ts

@deepcoldy

Copy link
Copy Markdown
Owner Author

#422 取代并关闭:#422 采用「bot 有名字用名字、拿不到名字才 @ 兜底」的混合方案(已合并 e3237b6),覆盖本 PR 的目标(授权卡展示被授权人身份而非裸 open_id)。Codex 亦确认本 PR 可视为被 #422 supersede。

@deepcoldy deepcoldy closed this Jul 10, 2026
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.

1 participant