Mark incoming activties as non-local.

This commit is contained in:
Roger Braun 2017-05-02 10:47:04 +02:00
commit 6dd8335477
3 changed files with 6 additions and 5 deletions

View file

@ -18,6 +18,7 @@ defmodule Pleroma.Web.OStatusTest do
assert activity.data["published"] == "2017-04-23T14:51:03+00:00"
assert activity.data["context"] == "tag:gs.example.org:4040,2017-04-23:objectType=thread:nonce=f09e22f58abd5c7b"
assert "http://pleroma.example.org:4000/users/lain3" in activity.data["to"]
assert activity.local == false
end
test "handle incoming notes - GS, subscription" do