Note `url` not populated
In GET /api/v1/statuses/:id
it seems the url
field is falling back on uri
for remote posts:
uri
is correct, but normally I would expect the url
field to be a URL to the frontend (eg /notice/:id
). I've checked both sides (my end and theirs, both 2.0.5) and it seems the URL isn't coming through. Looking directly at the activity data, url
in the object is nowhere to be found:
iex(master_05a7ee1f@127.0.0.1)11> Pleroma.Activity.get_by_id_with_object("9v6sQrSzxEXW8Ag9bM").object.data["url"]
[debug] QUERY OK source="activities" db=10.8ms queue=0.1ms idle=888.3ms
SELECT a0."id", a0."data", a0."local", a0."actor", a0."recipients", a0."inserted_at", a0."updated_at", o1."id", o1."data", o1."inserted_at", o1."updated_at" FROM "activities" AS a0 INNER JOIN "objects" AS o1 ON (o1."data"->>'id') = COALESCE(a0."data"->'object'->>'id', a0."data"->>'object') WHERE (a0."id" = $1) [<<0, 0, 1, 114, 30, 91, 187, 44, 36, 21, 164, 180, 212, 10, 0, 0>>]
nil