mirror of
https://github.com/FrankerFaceZ/FrankerFaceZ.git
synced 2025-08-06 06:10:54 +00:00
4.20.38
* Fixed: Emotes not appearing in Chat on Videos. * Fixed: Extra, unnecessary `Pause Chat` section appearing in the Twitch chat settings menu. * Fixed: Hide the number of unread whispers when hiding the whispers button. * Fixed: The alternative live viewer display sometimes incorrectly displaying zero when loading the page. * Fixed: Precision issue when displaying localized numbers in some cases.
This commit is contained in:
parent
943e0fdc18
commit
472f9472ee
8 changed files with 93 additions and 14 deletions
|
@ -1388,9 +1388,15 @@ export default class Chat extends Module {
|
|||
ret = `${content.alt}${content.cheerAmount}`;
|
||||
|
||||
} else if ( content.images ) {
|
||||
const url = (content.images.themed ? content.images.dark : content.images.sources),
|
||||
match = url && /\/emoticons\/v1\/(\d+)\/[\d.]+$/.exec(url['1x']),
|
||||
const url = (content.images.themed ? content.images.dark : content.images.sources);
|
||||
let id = content.emoteID;
|
||||
if ( ! id ) {
|
||||
const match = url && (
|
||||
/\/emoticons\/v1\/(\d+)\/[\d.]+$/.exec(url['1x']) ||
|
||||
/\/emoticons\/v2\/(\d+)\//.exec(url['1x'])
|
||||
);
|
||||
id = match && match[1];
|
||||
}
|
||||
|
||||
ret = content.alt;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue