mirror of
https://github.com/pdxlocations/contact.git
synced 2026-07-03 08:21:50 +02:00
Merge pull request #62 from rfschmid/stop-sending-blank
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