From 1ccd337b35a7c577812fa7b6e174708fa2dddbeb Mon Sep 17 00:00:00 2001 From: pdxlocations Date: Sat, 8 Mar 2025 12:30:28 -0800 Subject: [PATCH] maybe fix noon bug --- ui/curses_ui.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ui/curses_ui.py b/ui/curses_ui.py index 4cdcc04..3105078 100644 --- a/ui/curses_ui.py +++ b/ui/curses_ui.py @@ -319,7 +319,10 @@ def draw_channel_list(): if isinstance(channel, int): if is_chat_archived(channel): continue - channel = get_name_from_database(channel, type='long') + channel_name = get_name_from_database(channel, type='long') + if channel_name is None: + continue + channel = channel_name # Determine whether to add the notification notification = " " + config.notification_symbol if idx in globals.notifications else ""