Handle incoming websub subscriptions.

This commit is contained in:
Roger Braun 2017-04-28 15:45:10 +02:00
commit 1422e7aa84
7 changed files with 102 additions and 11 deletions

View file

@ -30,7 +30,8 @@ config :mime, :types, %{
"application/xrd+xml" => ["xrd+xml"]
}
config :pleroma, :websub_verifier, Pleroma.Web.Websub
config :pleroma, :websub, Pleroma.Web.Websub
config :pleroma, :ostatus, Pleroma.Web.OStatus
# Import environment specific config. This must remain at the bottom
# of this file so it overrides the configuration defined above.

View file

@ -25,4 +25,5 @@ config :pleroma, Pleroma.Repo,
# Reduce hash rounds for testing
config :comeonin, :pbkdf2_rounds, 1
config :pleroma, :websub_verifier, Pleroma.Web.WebsubMock
config :pleroma, :websub, Pleroma.Web.WebsubMock
config :pleroma, :ostatus, Pleroma.Web.OStatusMock