projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Longer timeouts for outgoing federation.
[akkoma]
/
lib
/
pleroma
/
user.ex
diff --git
a/lib/pleroma/user.ex
b/lib/pleroma/user.ex
index 98471cf71fad3eb911bb52cbf5318e3cc6d532f2..869a3eb1b5b77352b41b3920da7072ab488a2eeb 100644
(file)
--- a/
lib/pleroma/user.ex
+++ b/
lib/pleroma/user.ex
@@
-6,6
+6,7
@@
defmodule Pleroma.User do
alias Comeonin.Pbkdf2
alias Pleroma.Web.{OStatus, Websub}
alias Pleroma.Web.ActivityPub.ActivityPub
alias Comeonin.Pbkdf2
alias Pleroma.Web.{OStatus, Websub}
alias Pleroma.Web.ActivityPub.ActivityPub
+ alias Pleroma.Web.ActivityPub.Utils
schema "users" do
field :bio, :string
schema "users" do
field :bio, :string
@@
-126,7
+127,7
@@
defmodule Pleroma.User do
{ :ok, follower } = follower
|> follow_changeset(%{following: following})
|> Repo.update
{ :ok, follower } = follower
|> follow_changeset(%{following: following})
|> Repo.update
- { :ok, follower,
ActivityPub
.fetch_latest_follow(follower, followed)}
+ { :ok, follower,
Utils
.fetch_latest_follow(follower, followed)}
else
{:error, "Not subscribed!"}
end
else
{:error, "Not subscribed!"}
end