mirror of
https://github.com/discourse/discourse.git
synced 2026-08-11 05:25:16 -05: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