mirror of
https://github.com/glitch-soc/mastodon.git
synced 2025-12-15 00:38:27 +00:00
Apply Rubocop Style/NegatedIfElseCondition (#23451)
This commit is contained in:
@@ -265,7 +265,7 @@ class User < ApplicationRecord
|
||||
end
|
||||
|
||||
def inactive_message
|
||||
!approved? ? :pending : super
|
||||
approved? ? super : :pending
|
||||
end
|
||||
|
||||
def approve!
|
||||
|
||||
Reference in New Issue
Block a user