Merge branch 'fix-relay-repeat-notification' into 'develop'
Fix relay repeat notification See merge request pleroma/pleroma!2590
This commit is contained in:
commit
9848978109
3 changed files with 17 additions and 7 deletions
|
|
@ -108,6 +108,7 @@ defmodule Pleroma.Web.ActivityPub.RelayTest do
|
|||
assert {:ok, %Activity{} = activity} = Relay.publish(note)
|
||||
assert activity.data["type"] == "Announce"
|
||||
assert activity.data["actor"] == service_actor.ap_id
|
||||
assert activity.data["to"] == [service_actor.follower_address]
|
||||
assert called(Pleroma.Web.Federator.publish(activity))
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue