DEV: Fix silence user context message (#15040)

This commit is contained in:
Jarek Radosz 2021-11-22 19:44:20 +01:00 committed by GitHub
parent bd2e1a8c38
commit 68b0fdd2b3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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 }