Finish reply processing
This commit is contained in:
@@ -763,10 +763,7 @@ def handle_replies(create: ap.Create) -> None:
|
||||
)
|
||||
return None
|
||||
|
||||
in_reply_to_data = {
|
||||
MetaKey.IN_REPLY_TO: in_reply_to,
|
||||
MetaKey.IN_REPLY_TO_URL: reply.get_url(),
|
||||
}
|
||||
in_reply_to_data = {MetaKey.IN_REPLY_TO: in_reply_to}
|
||||
# Update the activity to save some data about the reply
|
||||
if reply.get_actor().id == create.get_actor().id:
|
||||
in_reply_to_data.update({MetaKey.IN_REPLY_TO_SELF: True})
|
||||
|
@@ -55,7 +55,6 @@ class MetaKey(Enum):
|
||||
THREAD_ROOT_PARENT = "thread_root_parent"
|
||||
|
||||
IN_REPLY_TO = "in_reply_to"
|
||||
IN_REPLY_TO_URL = "in_reply_to_url"
|
||||
IN_REPLY_TO_SELF = "in_reply_to_self"
|
||||
IN_REPLY_TO_ACTOR = "in_reply_to_actor"
|
||||
|
||||
|
Reference in New Issue
Block a user