fix(bot): add AvatarSource.HostedCdn

This commit is contained in:
Iris System 2024-02-14 04:41:02 +13:00
parent 5499a20a2c
commit 6547f1ca20
7 changed files with 21 additions and 11 deletions

View file

@ -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;