From dca5e1a33091f39ea4d87f6f329a8021fae2cce2 Mon Sep 17 00:00:00 2001 From: ccd0 Date: Fri, 9 Oct 2015 22:02:15 -0700 Subject: [PATCH] Exclude Twitch from auto-embedding due to autoplay bug. --- src/Linkification/Embedding.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Linkification/Embedding.coffee b/src/Linkification/Embedding.coffee index 19a414f1b..934458062 100644 --- a/src/Linkification/Embedding.coffee +++ b/src/Linkification/Embedding.coffee @@ -57,7 +57,7 @@ Embedding = $.on embed, 'click', Embedding.cb.toggle $.after link, [$.tn(' '), embed] - if Conf['Auto-embed'] and !Conf['Floating Embeds'] and !post.isFetchedQuote + if Conf['Auto-embed'] and !Conf['Floating Embeds'] and !post.isFetchedQuote and key isnt 'TwitchTV' # XXX https://github.com/justintv/Twitch-API/issues/289 $.asap (-> doc.contains embed), -> Embedding.cb.toggle.call embed