projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ad180ad
)
Unlink follow import process from the one processing request.
author
eal
<eal@waifu.club>
Sat, 23 Dec 2017 14:40:43 +0000
(16:40 +0200)
committer
eal
<eal@waifu.club>
Sat, 23 Dec 2017 14:40:43 +0000
(16:40 +0200)
Mistakes were made.
lib/pleroma/web/twitter_api/controllers/util_controller.ex
patch
|
blob
|
history
diff --git
a/lib/pleroma/web/twitter_api/controllers/util_controller.ex
b/lib/pleroma/web/twitter_api/controllers/util_controller.ex
index 9079d2f9b27c039bf9c0444b65edaad7ac343f2b..9d56549952c3695315ab25cb267a8b5542006e94 100644
(file)
--- a/
lib/pleroma/web/twitter_api/controllers/util_controller.ex
+++ b/
lib/pleroma/web/twitter_api/controllers/util_controller.ex
@@
-79,7
+79,7
@@
defmodule Pleroma.Web.TwitterAPI.UtilController do
follow_import(conn, %{"list" => File.read!(listfile.path)})
end
def follow_import(%{assigns: %{user: user}} = conn, %{"list" => list}) do
- Task.start
_link
(fn ->
+ Task.start(fn ->
String.split(list)
|> Enum.map(fn nick ->
with %User{} = follower <- User.get_cached_by_ap_id(user.ap_id),