FIX: Don't make topics visible unless the posts are regular

FIX: Don’t make topics visible unless the posts are regular

diff --git a/lib/post_creator.rb b/lib/post_creator.rb
index 0d3d61a..81befd0 100644
--- a/lib/post_creator.rb
+++ b/lib/post_creator.rb
@@ -419,6 +419,7 @@ class PostCreator
     return unless SiteSetting.embed_unlisted?
     return unless @post.post_number > 1
     return if @post.topic.visible?
+    return if @post.post_type != Post.types[:regular]
 
     if embed = @post.topic.topic_embed
       @post.topic.update_status('visible', true, @user)

GitHub sha: e997a1f3