Only show local delete for local replies

This commit is contained in:
Thomas Sileo 2022-11-30 17:49:36 +01:00
parent 9d357446d2
commit a273f26549
3 changed files with 12 additions and 6 deletions

View file

@ -1909,11 +1909,7 @@ async def _process_note_object(
is_from_following = ro.actor.ap_id in {f.ap_actor_id for f in following}
is_reply = bool(ro.in_reply_to)
is_local_reply = bool(
ro.in_reply_to
and ro.in_reply_to.startswith(BASE_URL)
and ro.content # Hide votes from Question
)
is_local_reply = ro.is_local_reply
is_mention = False
hashtags = []
tags = ro.ap_object.get("tag", [])