mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 22:43:33 +08:00
FIX: Don't create user first records on private posts
This commit is contained in:
@ -33,6 +33,8 @@ class CookedPostProcessor
|
||||
end
|
||||
|
||||
def create_firsts
|
||||
return unless Guardian.new.can_see?(@post)
|
||||
|
||||
created = false
|
||||
|
||||
if @doc.css("img.emoji").size > 0
|
||||
|
Reference in New Issue
Block a user