From 00c2c4b7b2c4b7050b60ba111430cb59aa812eae Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Fri, 11 Mar 2022 17:21:31 +0000 Subject: [PATCH] Debug --- inbox.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/inbox.py b/inbox.py index 3c614ea31..6018c6f0d 100644 --- a/inbox.py +++ b/inbox.py @@ -625,8 +625,12 @@ def _inbox_post_recipients_add(base_dir: str, http_prefix: str, toList: [], handle + ' does not exist') else: if debug: - print('DEBUG: ' + recipient + ' is not local to ' + - domain_match) + if recipient.endswith('#Public'): + print('DEBUG: #Public recipient is too non-specific. ' + + recipient + ' ' + domain_match) + else: + print('DEBUG: ' + recipient + ' is not local to ' + + domain_match) print(str(toList)) if recipient.endswith('followers'): if debug: