diff --git a/app/models/topic_embed.rb b/app/models/topic_embed.rb index 64c39c527cf..43de234a159 100644 --- a/app/models/topic_embed.rb +++ b/app/models/topic_embed.rb @@ -91,7 +91,7 @@ class TopicEmbed < ActiveRecord::Base post.reload end - 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?