>easy. Audio document you as referring to in Listen activity isn’t ingested and isn’t stored.
No, the Listen activity is stored and it is ingested. Read the code:
# ./lib/pleroma/web/pleroma_api/controllers/scrobble_controller.ex line 37 def index(%{assigns: %{user: reading_user}} = conn, %{id: id} = params) do with %User{} = user <- User.get_cached_by_nickname_or_id(id, for: reading_user) do params = Map.put(params, :type, ["Listen"]) activities = ActivityPub.fetch_user_abstract_activities(user, reading_user, params)Not only that, but you can verify that it’s ingested and stored in the database with the following query:
SELECT * FROM activities WHERE data->>'type' = 'Listen' ORDER BY inserted_at LIMIT 1;This returns an id that links to the original document, which is retrieved. You can’t retrieve that which is not stored.
This isn’t a bug. A bug is a scenario where it doesn’t work. Can you find one of those?
GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.
All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.