Not duplicate

merge-requests/30/head
Bob Mottram 2023-02-13 09:29:01 +00:00
parent 86b44bb0fe
commit 805e29fbe0
1 changed files with 1 additions and 0 deletions

View File

@ -4178,6 +4178,7 @@ def is_quote_toot(post_json_object: str, content: str) -> bool:
"""
# Pleroma/Misskey implementations
if post_json_object['object'].get('quoteUri') or \
post_json_object['object'].get('quoteUrl') or \
post_json_object['object'].get('_misskey_quote'):
return True
# More correct ActivityPub implementation - adding a Link tag