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

th-downstream
codl 8 years ago committed by Eugen
parent 1a0960ba88
commit 064101f8c6

@ -8,6 +8,6 @@ class RemoteFollow
validates :acct, presence: true validates :acct, presence: true
def initialize(attrs = {}) def initialize(attrs = {})
@acct = attrs[:acct] @acct = attrs[:acct].strip unless attrs[:acct].nil?
end end
end end

Loading…
Cancel
Save