From c415e70c2c44cd768adb51c36f2c0b82bb87d025 Mon Sep 17 00:00:00 2001 From: db0 Date: Mon, 26 Jun 2023 23:12:38 +0200 Subject: [PATCH] ignore_delete --- fediseer/apis/v1/activitypub.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/fediseer/apis/v1/activitypub.py b/fediseer/apis/v1/activitypub.py index 2207f71..7b9541d 100644 --- a/fediseer/apis/v1/activitypub.py +++ b/fediseer/apis/v1/activitypub.py @@ -47,6 +47,8 @@ class Inbox(Resource): actor = json_payload["actor"] if json_payload.get("Type") == "Follow": logger.info(f"Fediseer is now followed from: {actor}") + elif json_payload.get("Type") == "Delete": + pass else: try: message = json_payload["object"]["content"]