[chores] update some TODOs

This commit is contained in:
SouthFox 2023-04-03 15:40:25 +08:00
parent bbd1d8ee37
commit 49131a6aae
2 changed files with 4 additions and 5 deletions

View file

@ -127,9 +127,9 @@ async def process_incoming(
await db_session.refresh(inbox_object)
following = models.Following(
actor_id=relate_following_object.relates_to_actor.id, #type: ignore
outbox_object_id=relate_following_object.id, #type: ignore
ap_actor_id=ap_object["actor"], #type: ignore
actor_id=relate_following_object.relates_to_actor.id,
outbox_object_id=relate_following_object.id,
ap_actor_id=ap_object["actor"],
)
db_session.add(following)
@ -153,7 +153,6 @@ async def _handle_follow(
return False
if MANUALLY_APPROVES_FOLLOWERS:
# TODO
return False
await _send_accept(db_session, actor, inbox_object)

View file

@ -14,7 +14,7 @@ _CONFIG_FILE = "config.toml"
class Config(pydantic.BaseModel):
domain: str
username: str
# admin_password: bytes # TODO
# admin_password: bytes # TODO admin password
name: str
summary: str
https: bool