mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 09:26:54 -06:00
FIX: Embedding posts was broken
This commit is contained in:
parent
db02dbb0da
commit
008dd96721
@ -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?
|
||||
|
Loading…
Reference in New Issue
Block a user