Skip to content

Commit

Permalink
Add comment about subheader link
Browse files Browse the repository at this point in the history
  • Loading branch information
FlaminSarge committed Nov 2, 2024
1 parent 363447c commit bfa048f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/ts/chat-parser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ const parseChatSummary = (renderer: Ytc.AddChatItem, isEphemeral: boolean, banne
}
const subheader = splitRuns[1].map(run => {
if (run.type === 'text') {
// turn subheader into a link to YT's support page detailing the AI summary feature
return { type: 'link', text: run.text, url: 'https://support.google.com/youtube/thread/18138167?hl=en&msgid=284199217' } as Ytc.ParsedLinkRun;
} else {
return run;
Expand Down

0 comments on commit bfa048f

Please sign in to comment.