mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-04 04:56:49 +00:00
fix(bot): add AvatarSource.HostedCdn
This commit is contained in:
parent
5499a20a2c
commit
6547f1ca20
7 changed files with 21 additions and 11 deletions
|
|
@ -20,7 +20,7 @@ public class AvatarHostingService
|
|||
if (uploaded != null)
|
||||
{
|
||||
// todo: make new image type called Cdn?
|
||||
return new ParsedImage { Url = uploaded, Source = AvatarSource.Url };
|
||||
return new ParsedImage { Url = uploaded, Source = AvatarSource.HostedCdn };
|
||||
}
|
||||
|
||||
return input;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue