mirror of
https://github.com/discourse/discourse.git
synced 2025-06-07 07:14:48 +08:00
FIX: Embedding posts was broken
This commit is contained in:
@ -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?
|
||||
|
Reference in New Issue
Block a user