Add (back) option to set redirect notice on account without moving followers (#11994)
Fix #11913
This commit is contained in:
@ -47,8 +47,7 @@ class AccountMigration < ApplicationRecord
|
||||
end
|
||||
|
||||
def acct=(val)
|
||||
val = val.to_s.strip
|
||||
super(val.start_with?('@') ? val[1..-1] : val)
|
||||
super(val.to_s.strip.gsub(/\A@/, ''))
|
||||
end
|
||||
|
||||
private
|
||||
|
Reference in New Issue
Block a user