From 579e837a49bcaca7f76ff8549ff6ee2629cec979 Mon Sep 17 00:00:00 2001 From: southfox Date: Wed, 29 Mar 2023 11:14:13 +0800 Subject: [PATCH] chores/update some TODO --- app/activitypub.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/activitypub.py b/app/activitypub.py index d0dd416..f5884a9 100644 --- a/app/activitypub.py +++ b/app/activitypub.py @@ -59,11 +59,11 @@ ME = { "sharedInbox": config.BASE_URL + "/inbox", }, - "url": config.ID + "/", # XXX: the path is important for Mastodon compat + "url": config.ID + "/", # the path is important for Mastodon compat "manuallyApprovesFollowers": config.CONFIG.manually_approves_followers, - "attachment": [], # TODO + "attachment": [], # TODO media support "icon": { - "mediaType": "image/png", # TODO + "mediaType": "image/png", # TODO media support "type": "Image", "url": config.CONFIG.icon_url, }, @@ -72,7 +72,7 @@ ME = { "owner": config.ID, "publicKeyPem": get_pubkey_as_pem(config.KEY_PATH), }, - "tag": [] # TODO + "tag": [] # TODO tag support } class VisibilityEnum(str, enum.Enum):