mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-27 17:46:05 -05:00
FIX: Robin is fired for the typo
This commit is contained in:
parent
44ed0d5232
commit
77d68ccf08
1 changed files with 1 additions and 1 deletions
|
@ -49,7 +49,7 @@ class TopicEmbed < ActiveRecord::Base
|
|||
absolutize_urls(url, contents)
|
||||
post = embed.post
|
||||
# Update the topic if it changed
|
||||
if post && && post.topic && content_sha1 != embed.content_sha1
|
||||
if post && post.topic && content_sha1 != embed.content_sha1
|
||||
revisor = PostRevisor.new(post)
|
||||
revisor.revise!(user, absolutize_urls(url, contents), skip_validations: true, bypass_rate_limiter: true)
|
||||
embed.update_column(:content_sha1, content_sha1)
|
||||
|
|
Loading…
Reference in a new issue