mirror of
https://github.com/discourse/discourse.git
synced 2025-05-29 01:31:35 +08:00
DEV: Fix Lint/ShadowedArgument (#24733)
This commit is contained in:
@ -2,7 +2,7 @@
|
||||
|
||||
module Chat
|
||||
module UserNotificationsExtension
|
||||
def chat_summary(user, opts)
|
||||
def chat_summary(user, _ = nil)
|
||||
guardian = Guardian.new(user)
|
||||
return unless guardian.can_chat?
|
||||
|
||||
|
Reference in New Issue
Block a user