mirror of
https://github.com/lunaisnotaboy/mastodon.git
synced 2024-11-28 17:43:27 +00:00
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…
Reference in a new issue