Less indentation

main
Bob Mottram 2024-08-04 20:14:17 +01:00
parent 52ea6b3a7e
commit 2d0a53bd29
1 changed files with 9 additions and 8 deletions

View File

@ -3492,7 +3492,8 @@ def undo_reaction_collection_entry(recent_posts_cache: {},
total_items = obj['reactions']['totalItems']
item_found = False
for like_item in obj['reactions']['items']:
if like_item.get('actor'):
if not like_item.get('actor'):
continue
if like_item['actor'] == actor and \
like_item['content'] == emoji_content:
if debug: