mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-27 17:46:05 -05:00
FIX: Embedding posts was broken
This commit is contained in:
parent
db02dbb0da
commit
008dd96721
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue