A platform for community discussion. Free, open, simple.
FIX: Allow embed updates of just the title
Robin Ward98729c8e6efc
diff --git a/app/models/topic_embed.rb b/app/models/topic_embed.rbindex 64c39c527cf..43de234a159 100644--- a/app/models/topic_embed.rb+++ b/app/models/topic_embed.rb@@ -91,7 +91,7 @@ class TopicEmbed < ActiveRecord::Basepost.reloadend- if content_sha1 != embed.content_sha1+ if (content_sha1 != embed.content_sha1) || (title && title != post&.topic&.title)changes = { raw: absolutize_urls(url, contents) }changes[:title] = title if title.present?