mirror of
https://github.com/desktop/desktop
synced 2024-09-18 07:32:01 +00:00
Set user name for known bots to fix their avatar tooltips
This commit is contained in:
parent
5f99b5a249
commit
55706e82f1
|
@ -93,8 +93,13 @@ const dotComBot = (login: string, id: number, integrationId: number) => {
|
|||
const endpoint = getDotComAPIEndpoint()
|
||||
const stealthHost = 'users.noreply.github.com'
|
||||
return [
|
||||
{ email: `${id}+${login}@${stealthHost}`, name: '', avatarURL, endpoint },
|
||||
{ email: `${login}@${stealthHost}`, name: '', avatarURL, endpoint },
|
||||
{
|
||||
email: `${id}+${login}@${stealthHost}`,
|
||||
name: login,
|
||||
avatarURL,
|
||||
endpoint,
|
||||
},
|
||||
{ email: `${login}@${stealthHost}`, name: login, avatarURL, endpoint },
|
||||
]
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue