diff --git a/src/components/BotProfileImage.tsx b/src/components/BotProfileImage.tsx index cfe2f1411..a99f570d3 100644 --- a/src/components/BotProfileImage.tsx +++ b/src/components/BotProfileImage.tsx @@ -10,7 +10,7 @@ import BotProfileIcon from '../icons/bot-profile-image-small.svg'; function isMaybeFavicon(url: string) { if (url.length < 4) return false; const fileName = url.substring(url.lastIndexOf('/') + 1); - return /fav_|favicon|\.ico/.test(fileName); + return fileName.startsWith('fav_'); } const FaviconContainer = styled.div<{ size: number }>`