mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 09:26:54 -06:00
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
Block a user