Invert logic

This commit is contained in:
bashrc committed 2026-02-20 10:46:23 +00:00
1 parent fee4e3eb26
commit 6bd3fff506
1 file changed
+1 -1
+1 -1
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):