Fix display glitch

When deleting a channel made the newly selected channel one that had a
notification, we didn't clear the notification symbol
This commit is contained in:
Russell Schmidt
2025-02-02 16:59:44 -06:00
parent 6e96023906
commit d0c67f0864
+1
View File
@@ -646,6 +646,7 @@ def main_ui(stdscr):
del globals.channel_list[globals.selected_channel]
globals.selected_channel = min(globals.selected_channel, len(globals.channel_list) - 1)
select_channel(globals.selected_channel)
draw_channel_list()
draw_messages_window()