Skip to content

Commit

Permalink
chore: 有头衔的管理员也显示身份
Browse files Browse the repository at this point in the history
  • Loading branch information
clansty committed Dec 26, 2024
1 parent 47533d7 commit 47825e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main/src/api/richHeader.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ export default new Elysia()
content={`https://q1.qlogo.cn/g?b=qq&nk=${params.userId}&s=0&time=${format(now, 'yyyy-MM-dd')}`}/>
{
memberInfo.title ?
<meta property="og:site_name" content={`「${memberInfo.title}」`}/> :
<meta property="og:site_name" content={`${memberInfo.role === 'member' ? '' : memberInfo.role}${memberInfo.title}」`}/> :
<meta property="og:site_name" content={memberInfo.role}/>
}
<meta property="og:title" content={memberInfo.card || memberInfo.nickname}/>
Expand Down

0 comments on commit 47825e4

Please sign in to comment.