ActivityPub: Basic note federation with Mastodon.

This commit is contained in:
lain 2018-02-11 20:43:33 +01:00
commit 8cf97ee8e1
7 changed files with 122 additions and 16 deletions

View file

@ -370,4 +370,8 @@ defmodule Pleroma.UserTest do
refute Repo.get(Activity, activity.id)
end
test "get_public_key_for_ap_id fetches a user that's not in the db" do
assert {:ok, _key} = User.get_public_key_for_ap_id("http://mastodon.example.org/users/admin")
end
end