Remove auto-silence behaviour from spam check (#12117)

Fix #12113
This commit is contained in:
Eugen Rochko
2019-10-09 07:11:23 +02:00
committed by GitHub
parent 354fdd317e
commit b5f7e12817
5 changed files with 15 additions and 12 deletions

View File

@ -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?