Invert logic

main
Bob Mottram 2025-05-15 22:03:26 +01:00
parent 5df3f03396
commit 4f5c8aff7b
1 changed files with 1 additions and 1 deletions

View File

@ -1094,7 +1094,7 @@ def receive_actor_status(base_dir: str, person_cache: {}, message_json: {},
"""
if message_json['type'] not in ('sm:ActorStatus', 'ActorStatus'):
return False
if 'content' in message_json:
if 'content' not in message_json:
print('DEBUG: receive_actor_status no content ' + str(message_json))
return True
if not isinstance(message_json['content'], str):