Invert logic

main
bashrc 2026-02-20 10:46:23 +00:00
parent fee4e3eb26
commit 6bd3fff506
1 changed files with 1 additions and 1 deletions

View File

@ -50,7 +50,7 @@ def get_quote_toot_url(post_json_object: str) -> str:
return remove_html(quote_url)
# Other ActivityPub implementation - adding a Link tag
if post_obj.get('tag'):
if not post_obj.get('tag'):
return ''
if not isinstance(post_obj['tag'], list):