ActivityPub: Basic note federation with Mastodon.
This commit is contained in:
parent
ce31f3a922
commit
8cf97ee8e1
7 changed files with 122 additions and 16 deletions
|
|
@ -47,6 +47,9 @@ defmodule Pleroma.Web.Federator do
|
|||
|
||||
Logger.debug(fn -> "Sending #{activity.data["id"]} out via websub" end)
|
||||
Websub.publish(Pleroma.Web.OStatus.feed_path(actor), actor, activity)
|
||||
|
||||
Logger.debug(fn -> "Sending #{activity.data["id"]} out via AP" end)
|
||||
Pleroma.Web.ActivityPub.ActivityPub.publish(actor, activity)
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue