mirror of https://gitlab.com/bashrc2/epicyon
Extra quote field
parent
b98910cd0f
commit
495a428bb1
2
quote.py
2
quote.py
|
|
@ -21,7 +21,7 @@ def get_quote_toot_url(post_json_object: str) -> str:
|
||||||
# adhoc quote toot implementations
|
# adhoc quote toot implementations
|
||||||
object_quote_url_fields = (
|
object_quote_url_fields = (
|
||||||
'quoteUri', 'quoteUrl', 'quoteReply', 'toot:quoteReply',
|
'quoteUri', 'quoteUrl', 'quoteReply', 'toot:quoteReply',
|
||||||
'_misskey_quote'
|
'_misskey_quote', 'quote'
|
||||||
)
|
)
|
||||||
for fieldname in object_quote_url_fields:
|
for fieldname in object_quote_url_fields:
|
||||||
if not post_json_object['object'].get(fieldname):
|
if not post_json_object['object'].get(fieldname):
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue