mirror of https://gitlab.com/bashrc2/epicyon
Invert logic
parent
fee4e3eb26
commit
6bd3fff506
2
quote.py
2
quote.py
|
|
@ -50,7 +50,7 @@ def get_quote_toot_url(post_json_object: str) -> str:
|
||||||
return remove_html(quote_url)
|
return remove_html(quote_url)
|
||||||
|
|
||||||
# Other ActivityPub implementation - adding a Link tag
|
# Other ActivityPub implementation - adding a Link tag
|
||||||
if post_obj.get('tag'):
|
if not post_obj.get('tag'):
|
||||||
return ''
|
return ''
|
||||||
|
|
||||||
if not isinstance(post_obj['tag'], list):
|
if not isinstance(post_obj['tag'], list):
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue