summaryrefslogtreecommitdiff
path: root/components
diff options
context:
space:
mode:
authorouwou <26526779+ouwou@users.noreply.github.com>2020-08-21 22:25:23 -0400
committerouwou <26526779+ouwou@users.noreply.github.com>2020-08-21 22:25:23 -0400
commit6b72931ba729bf6ede33cfa6877a5ad21e913c45 (patch)
tree83281f1a498b3cb855a68c78a4bb336b79e797bb /components
parent6f11aa4dae4c7334b150752f5cf8d270ce746d9c (diff)
downloadabaddon-portaudio-6b72931ba729bf6ede33cfa6877a5ad21e913c45.tar.gz
abaddon-portaudio-6b72931ba729bf6ede33cfa6877a5ad21e913c45.zip
send chat messages
Diffstat (limited to 'components')
-rw-r--r--components/chatwindow.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/components/chatwindow.cpp b/components/chatwindow.cpp
index 25f6831..ee88ae3 100644
--- a/components/chatwindow.cpp
+++ b/components/chatwindow.cpp
@@ -136,9 +136,10 @@ bool ChatWindow::on_key_press_event(GdkEventKey *e) {
return false;
auto text = buffer->get_text();
-
buffer->set_text("");
+ m_abaddon->ActionChatInputSubmit(text, m_active_channel);
+
return true;
}