diff --git a/bp/actors/routes.py b/bp/actors/routes.py index 49c0745..060f867 100644 --- a/bp/actors/routes.py +++ b/bp/actors/routes.py @@ -7,6 +7,7 @@ from __future__ import annotations import json import logging import os +import uuid import httpx from quart import Blueprint, request, abort, Response, g, render_template @@ -52,8 +53,10 @@ async def _send_accept( username = actor.preferred_username actor_url = f"https://{domain}/users/{username}" + accept_id = f"{actor_url}/activities/{uuid.uuid4()}" accept = { "@context": "https://www.w3.org/ns/activitystreams", + "id": accept_id, "type": "Accept", "actor": actor_url, "object": follow_activity, diff --git a/shared b/shared index 24432cd..1d83a33 160000 --- a/shared +++ b/shared @@ -1 +1 @@ -Subproject commit 24432cd52acae183416d8e198206923bddb815b8 +Subproject commit 1d83a339b6008b1743846ea5ab32fe15abe644a9