Skip to content

reactions-avatars, small-user-avatars - Fix Copilot user#8866

Merged
fregante merged 14 commits intorefined-github:mainfrom
SunsetTechuila:copilot-reaction
Jan 18, 2026
Merged

reactions-avatars, small-user-avatars - Fix Copilot user#8866
fregante merged 14 commits intorefined-github:mainfrom
SunsetTechuila:copilot-reaction

Conversation

@SunsetTechuila
Copy link
Member

@SunsetTechuila SunsetTechuila commented Jan 12, 2026

@github-actions github-actions bot added the bug label Jan 12, 2026
@SunsetTechuila SunsetTechuila changed the title Copilot reaction Fix avatars fetching for bots and Copliot Jan 12, 2026
}

// If it's not a bot, use a shortcut URL #2125
if (cleanName === username) {
Copy link
Member Author

@SunsetTechuila SunsetTechuila Jan 13, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's technically possible for bots to have a name/avatar different from the user or organization that registered them, so https://avatars.githubusercontent.com/${cleanName} won't work in those cases. Still, I consider that scenario rare enough for bots that leave reactions (I couldn't find any examples) that it's probably not worth accounting for it

@SunsetTechuila SunsetTechuila marked this pull request as draft January 13, 2026 09:47
@SunsetTechuila SunsetTechuila marked this pull request as ready for review January 16, 2026 05:44
@SunsetTechuila SunsetTechuila changed the title Fix avatars fetching for bots and Copliot Fix Copilot reaction icon, enable mention avatars for orgs & reaction avatars for bots Jan 16, 2026
@SunsetTechuila SunsetTechuila marked this pull request as draft January 17, 2026 09:51
@SunsetTechuila SunsetTechuila marked this pull request as ready for review January 18, 2026 02:03
@fregante fregante changed the title Fix Copilot reaction icon, enable mention avatars for orgs & reaction avatars for bots reactions-avatars, small-user-avatars - Fix Copilot user Jan 18, 2026
@fregante fregante merged commit 54d1d7f into refined-github:main Jan 18, 2026
11 checks passed
@SunsetTechuila SunsetTechuila deleted the copilot-reaction branch January 18, 2026 05:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Development

Successfully merging this pull request may close these issues.

reactions-avatars shows bad icon for copilot

2 participants