- with followed_identifiers <- String.split(list),
- {:ok, _} = Task.start(fn -> User.follow_import(follower, followed_identifiers) end) do
+ with lines <- String.split(list, "\n"),
+ followed_identifiers <-
+ Enum.map(lines, fn line ->
+ String.split(line, ",") |> List.first()
+ end)
+ |> List.delete("Account address"),
+ :ok <-
+ PleromaJobQueue.enqueue(:background, User, [
+ :follow_import,
+ follower,
+ followed_identifiers
+ ]) do