diff --git a/CHANGELOG-nightly.md b/CHANGELOG-nightly.md index 4eecbc9fd..ca25655e5 100644 --- a/CHANGELOG-nightly.md +++ b/CHANGELOG-nightly.md @@ -2,7 +2,7 @@ **The changes listed here are not assigned to an official release**. -- No unreleased changes yet +- Reinstated animated avatars ### 3.0.16.1000 diff --git a/src/site/twitch.tv/modules/avatars/AvatarsModule.vue b/src/site/twitch.tv/modules/avatars/AvatarsModule.vue index 8ec706ab2..d1408fbaf 100644 --- a/src/site/twitch.tv/modules/avatars/AvatarsModule.vue +++ b/src/site/twitch.tv/modules/avatars/AvatarsModule.vue @@ -98,7 +98,7 @@ async function findAvatarClass() { const com = getVNodeFromDOM(ael); if (!com || !com.return) return; - if ((com.return.type as { displayName?: string }).displayName !== "ScAvatar") return; + if ((com.return?.return?.type as { displayName?: string }).displayName !== "Avatar") return; avatarClass.value = com.return.type as unknown as typeof avatarClass.value; }