Tweak AP ctx, and gzip support for HTML resp
This commit is contained in:
@@ -554,10 +554,14 @@ def task_process_reply() -> _Response:
|
||||
|
||||
root_reply = in_reply_to
|
||||
|
||||
# Fetch the activity reply
|
||||
reply = ap.fetch_remote_activity(in_reply_to)
|
||||
if reply.has_type(ap.ActivityType.CREATE):
|
||||
reply = reply.get_object()
|
||||
|
||||
# Store some metadata for the UI
|
||||
# FIXME(tsileo): be able to display: "In reply to @user@domain.tld"?
|
||||
|
||||
new_replies = [activity, reply]
|
||||
|
||||
while 1:
|
||||
|
Reference in New Issue
Block a user