mirror of https://gitlab.com/bashrc2/epicyon
Extra QT field
parent
8bbd7b1383
commit
a905e703b8
3
utils.py
3
utils.py
|
@ -4166,7 +4166,8 @@ def is_quote_toot(post_json_object: str, content: str) -> bool:
|
||||||
"""
|
"""
|
||||||
# Pleroma implementation
|
# Pleroma implementation
|
||||||
if post_json_object['object'].get('quoteUri') or \
|
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
|
return True
|
||||||
# More correct ActivityPub implementation
|
# More correct ActivityPub implementation
|
||||||
if post_json_object['object'].get('tag'):
|
if post_json_object['object'].get('tag'):
|
||||||
|
|
Loading…
Reference in New Issue