DEV: Fix silence user context message (#15040)
This commit is contained in:
parent
bd2e1a8c38
commit
68b0fdd2b3
|
@ -35,7 +35,7 @@ class UserSilencer
|
|||
@opts[:message_body]
|
||||
).format
|
||||
|
||||
context = "#{message_type}: '#{post.topic&.title rescue ''}' #{@opts[:reason]}"
|
||||
context = "#{message_type}: #{@opts[:reason]}"
|
||||
|
||||
if @by_user
|
||||
log_params = { context: context, details: details }
|
||||
|
|
Loading…
Reference in New Issue