strip leading & trailing spaces from remote follow acct (#997) (#2321)

main
codl 8 years ago committed by Eugen
parent 629d35e6f5
commit 8565ba68f7

@ -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

Loading…
Cancel
Save