diff --git a/app/models/account_migration.rb b/app/models/account_migration.rb index 15830bffbd06820cede9d22fc2ba9521fcc27b8b..e2c2cb0850727999302a710628f77129827edcd3 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