about summary refs log tree commit diff
path: root/app/models
diff options
context:
space:
mode:
Diffstat (limited to 'app/models')
-rw-r--r--app/models/remote_follow.rb2
1 files changed, 1 insertions, 1 deletions
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