mirror of
https://github.com/discourse/discourse.git
synced 2025-05-30 15:28:37 +08:00
FEATURE: Can edit category/host relationships for embedding
This commit is contained in:
@ -866,7 +866,7 @@ class Topic < ActiveRecord::Base
|
||||
end
|
||||
|
||||
def expandable_first_post?
|
||||
SiteSetting.embeddable_hosts.present? && SiteSetting.embed_truncate? && has_topic_embed?
|
||||
SiteSetting.embed_truncate? && has_topic_embed?
|
||||
end
|
||||
|
||||
TIME_TO_FIRST_RESPONSE_SQL ||= <<-SQL
|
||||
|
Reference in New Issue
Block a user