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?