mirror of
https://framagit.org/tykayn/mastodon.git
synced 2023-08-25 08:33:12 +02:00
parent
629d35e6f5
commit
8565ba68f7
@ -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…
x
Reference in New Issue
Block a user