From 008dd967217f844c1ad0eb989030c6250d673b69 Mon Sep 17 00:00:00 2001 From: Robin Ward Date: Fri, 26 Jun 2015 11:45:56 -0400 Subject: [PATCH] FIX: Embedding posts was broken --- lib/topic_retriever.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/topic_retriever.rb b/lib/topic_retriever.rb index 16823773091..090ad6244ab 100644 --- a/lib/topic_retriever.rb +++ b/lib/topic_retriever.rb @@ -13,7 +13,7 @@ class TopicRetriever private def invalid_host? - SiteSetting.allows_embeddable_host?(@embed_url) + !SiteSetting.allows_embeddable_host?(@embed_url) end def retrieved_recently?