mirror of https://gitlab.com/bashrc2/epicyon
Additional quote toot style
parent
2d75d8d2af
commit
39553b69a3
2
utils.py
2
utils.py
|
@ -4269,6 +4269,8 @@ 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('quoteReply') or \
|
||||
post_json_object['object'].get('toot:quoteReply') or \
|
||||
post_json_object['object'].get('_misskey_quote'):
|
||||
return True
|
||||
# More correct ActivityPub implementation - adding a Link tag
|
||||
|
|
Loading…
Reference in New Issue