ignore_delete

pull/11/head
db0 2023-06-26 23:12:38 +02:00
parent 8b73c81e51
commit c415e70c2c
1 changed files with 2 additions and 0 deletions

View File

@ -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"]