From 6a846a23b6ceee5f50e17f05270d599b65b6b0c1 Mon Sep 17 00:00:00 2001 From: SirStendec Date: Thu, 12 Sep 2019 17:49:49 -0400 Subject: [PATCH] 4.9.9 * Fixed: The example rich content embed not working correctly when the setting is disabled. --- package.json | 2 +- src/modules/chat/rich_providers.js | 2 +- src/modules/main_menu/components/chat-rich-example.vue | 5 +++-- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 3b9f6d20..2c82e008 100755 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "frankerfacez", "author": "Dan Salvato LLC", - "version": "4.9.8", + "version": "4.9.9", "description": "FrankerFaceZ is a Twitch enhancement suite.", "license": "Apache-2.0", "scripts": { diff --git a/src/modules/chat/rich_providers.js b/src/modules/chat/rich_providers.js index 8b580604..39e39145 100644 --- a/src/modules/chat/rich_providers.js +++ b/src/modules/chat/rich_providers.js @@ -22,7 +22,7 @@ export const Links = { priority: -10, test(token) { - if ( ! this.context.get('chat.rich.all-links') ) + if ( ! this.context.get('chat.rich.all-links') && ! token.force_rich ) return false; return token.type === 'link' diff --git a/src/modules/main_menu/components/chat-rich-example.vue b/src/modules/main_menu/components/chat-rich-example.vue index d644c5ec..8194917f 100644 --- a/src/modules/main_menu/components/chat-rich-example.vue +++ b/src/modules/main_menu/components/chat-rich-example.vue @@ -1,6 +1,6 @@