misc: Remove Clyde (#2764)

* Remove Clyde

* Remove Clyde avatar overwrite

* Remove Clyde from the user pattern
This commit is contained in:
Frangu Vlad
2018-08-18 14:21:24 +03:00
committed by Crawl
parent 3b91fa0b49
commit 94214fa733
3 changed files with 1 additions and 15 deletions

View File

@@ -124,7 +124,6 @@ exports.Endpoints = {
Asset: name => `${root}/assets/${name}`,
DefaultAvatar: number => `${root}/embed/avatars/${number}.png`,
Avatar: (userID, hash, format = 'default', size) => {
if (userID === '1') return hash;
if (format === 'default') format = hash.startsWith('a_') ? 'gif' : 'webp';
return makeImageUrl(`${root}/avatars/${userID}/${hash}`, { format, size });
},