diff --git a/app/models/remote_follow.rb b/app/models/remote_follow.rb index 13281a4fc..6c291e22c 100644 --- a/app/models/remote_follow.rb +++ b/app/models/remote_follow.rb @@ -8,6 +8,6 @@ class RemoteFollow validates :acct, presence: true def initialize(attrs = {}) - @acct = attrs[:acct] + @acct = attrs[:acct].strip unless attrs[:acct].nil? end end