From 9d357446d2181bb56c86043150582f3dfc7171c4 Mon Sep 17 00:00:00 2001 From: Thomas Sileo Date: Wed, 30 Nov 2022 17:37:08 +0100 Subject: [PATCH] Tweak logging --- app/customization.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/app/customization.py b/app/customization.py index 73d2e65..aa107f5 100644 --- a/app/customization.py +++ b/app/customization.py @@ -146,9 +146,10 @@ _StreamVisibilityCallback = Callable[[ObjectInfo], bool] def default_stream_visibility_callback(object_info: ObjectInfo) -> bool: - logger.info(f"{object_info=}") - return ( + result = ( (not object_info.is_reply and object_info.is_from_following) or object_info.is_mention or object_info.is_local_reply ) + logger.info(f"{object_info=}/{result=}") + return result