Tweak logging

main
Thomas Sileo 2022-11-30 17:37:08 +01:00
parent 6cabff21db
commit 9d357446d2
1 changed files with 3 additions and 2 deletions

View File

@ -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