Skip to content

Commit

Permalink
noop: TODO in Protocol.receive_task to use it for web/AP too
Browse files Browse the repository at this point in the history
  • Loading branch information
snarfed committed Sep 19, 2023
1 parent df95e41 commit 8e15a75
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions protocol.py
Original file line number Diff line number Diff line change
Expand Up @@ -973,6 +973,12 @@ def receive_task():
* obj: urlsafe :class:`ndb.Key` of the :class:`Object` to handle
* user: urlsafe :class:`ndb.Key` of the :class:`User` this activity is on
behalf of. This user will be loaded into `g.user`.
TODO: migrate incoming webmentions and AP inbox deliveries to this.
difficulty is that parts of Protocol.receive depend on setup in
Web.webmention and ActivityPub.inbox, eg Object with new/changed, g.user
(which receive now loads), HTTP request details, etc. see stash for attempt
at this for Web.
"""
logger.info(f'Params: {list(request.form.items())}')

Expand Down

0 comments on commit 8e15a75

Please sign in to comment.