Keep ostatus id as activity id.
[akkoma] / lib / pleroma / web / ostatus / activity_representer.ex
index 367212fe142bd662a48057c1451afbcc6ea9c70d..30e695bcc4b35aa43da8f11a48c59c6f5607d5fe 100644 (file)
@@ -15,7 +15,7 @@ defmodule Pleroma.Web.OStatus.ActivityRepresenter do
     [
       {:"activity:object-type", ['http://activitystrea.ms/schema/1.0/note']},
       {:"activity:verb", ['http://activitystrea.ms/schema/1.0/post']},
-      {:id, h.(activity.data["object"]["id"])},
+      {:id, h.(activity.data["id"])},
       {:title, ['New note by #{user.nickname}']},
       {:content, [type: 'html'], h.(activity.data["object"]["content"])},
       {:published, h.(inserted_at)},