diff options
Diffstat (limited to 'app/models/account_migration.rb')
-rw-r--r-- | app/models/account_migration.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/app/models/account_migration.rb b/app/models/account_migration.rb index 15830bffb..e2c2cb085 100644 --- a/app/models/account_migration.rb +++ b/app/models/account_migration.rb @@ -46,6 +46,11 @@ class AccountMigration < ApplicationRecord created_at + COOLDOWN_PERIOD end + def acct=(val) + val = val.to_s.strip + super(val.start_with?('@') ? val[1..-1] : val) + end + private def set_target_account |