parent
354fdd317e
commit
b5f7e12817
5 changed files with 15 additions and 12 deletions
|
@ -198,7 +198,7 @@ class Account < ApplicationRecord
|
|||
end
|
||||
|
||||
def unsilence!
|
||||
update!(silenced_at: nil, trust_level: trust_level == TRUST_LEVELS[:untrusted] ? TRUST_LEVELS[:trusted] : trust_level)
|
||||
update!(silenced_at: nil)
|
||||
end
|
||||
|
||||
def suspended?
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue