diff --git a/lib/letter-avatars.ts b/lib/letter-avatars.ts index 3d038047b..e476ad6bb 100644 --- a/lib/letter-avatars.ts +++ b/lib/letter-avatars.ts @@ -25,9 +25,6 @@ export function generateAvatar (name: string): string { export function generateAvatarURL (name: string, email = '', big = true): string { let photo - if (email.length === 0) { - email = '' + name + '@example.com' - } name = encodeURIComponent(name) const hash = createHash('md5')