mirror of
https://github.com/pdxlocations/contact.git
synced 2026-08-08 09:53:08 +02:00
Don't allow sending empty string
This commit is contained in:
+1
-1
@@ -475,7 +475,7 @@ def main_ui(stdscr):
|
||||
draw_channel_list()
|
||||
draw_messages_window(True)
|
||||
|
||||
else:
|
||||
elif len(input_text) > 0:
|
||||
# Enter key pressed, send user input as message
|
||||
send_message(input_text, channel=globals.selected_channel)
|
||||
draw_messages_window(True)
|
||||
|
||||
Reference in New Issue
Block a user