Extra QT field

merge-requests/30/head
Bob Mottram 2023-01-08 13:14:36 +00:00
parent 8bbd7b1383
commit a905e703b8
1 changed files with 2 additions and 1 deletions

View File

@ -4166,7 +4166,8 @@ def is_quote_toot(post_json_object: str, content: str) -> bool:
"""
# Pleroma implementation
if post_json_object['object'].get('quoteUri') or \
post_json_object['object'].get('quoteUrl'):
post_json_object['object'].get('quoteUrl') or \
post_json_object['object'].get('_misskey_quote'):
return True
# More correct ActivityPub implementation
if post_json_object['object'].get('tag'):