mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FIX: Embedding posts was broken
This commit is contained in:
@@ -13,7 +13,7 @@ class TopicRetriever
|
|||||||
private
|
private
|
||||||
|
|
||||||
def invalid_host?
|
def invalid_host?
|
||||||
SiteSetting.allows_embeddable_host?(@embed_url)
|
!SiteSetting.allows_embeddable_host?(@embed_url)
|
||||||
end
|
end
|
||||||
|
|
||||||
def retrieved_recently?
|
def retrieved_recently?
|
||||||
|
|||||||
Reference in New Issue
Block a user