mirror of
https://github.com/nuttylmao/nutty.gg.git
synced 2026-09-18 19:50:58 -04:00
Fixed Twitch mentions
This commit is contained in:
@@ -352,7 +352,7 @@ function ConstructMessageFromParts(parts) {
|
|||||||
|
|
||||||
return emoteImg + bitLabel;
|
return emoteImg + bitLabel;
|
||||||
case "mention":
|
case "mention":
|
||||||
return '';
|
return part.text;
|
||||||
default:
|
default:
|
||||||
return `<img src="${EscapeHTML(part.imageUrl)}" alt="${EscapeHTML(part.text)}" title="${EscapeHTML(part.text)}" class="emote">`;
|
return `<img src="${EscapeHTML(part.imageUrl)}" alt="${EscapeHTML(part.text)}" title="${EscapeHTML(part.text)}" class="emote">`;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user