Pass `silenced_by` through to DiscourseEvent
This commit is contained in:
parent
ef07045aca
commit
e4298a91b8
|
@ -45,6 +45,7 @@ class UserSilencer
|
|||
DiscourseEvent.trigger(
|
||||
:user_silenced,
|
||||
user: @user,
|
||||
silenced_by: @by_user,
|
||||
reason: @opts[:reason],
|
||||
message: @opts[:message_body],
|
||||
user_history: @user_history,
|
||||
|
|
Loading…
Reference in New Issue