mirror of https://gitlab.com/bashrc2/epicyon
Not duplicate
parent
86b44bb0fe
commit
805e29fbe0
1
utils.py
1
utils.py
|
@ -4178,6 +4178,7 @@ def is_quote_toot(post_json_object: str, content: str) -> bool:
|
||||||
"""
|
"""
|
||||||
# Pleroma/Misskey implementations
|
# Pleroma/Misskey implementations
|
||||||
if post_json_object['object'].get('quoteUri') or \
|
if post_json_object['object'].get('quoteUri') or \
|
||||||
|
post_json_object['object'].get('quoteUrl') or \
|
||||||
post_json_object['object'].get('_misskey_quote'):
|
post_json_object['object'].get('_misskey_quote'):
|
||||||
return True
|
return True
|
||||||
# More correct ActivityPub implementation - adding a Link tag
|
# More correct ActivityPub implementation - adding a Link tag
|
||||||
|
|
Loading…
Reference in New Issue