From 4f5c8aff7b0636f5420f8be025d640d30ee7991f Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Thu, 15 May 2025 22:03:26 +0100 Subject: [PATCH] Invert logic --- inbox_receive.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inbox_receive.py b/inbox_receive.py index e8eec34ef..7270f1a84 100644 --- a/inbox_receive.py +++ b/inbox_receive.py @@ -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):