diff options
Diffstat (limited to 'gtk.c')
-rw-r--r-- | gtk.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -75,8 +75,9 @@ void send_message(chat_t* chat) { const char* text = gtk_editable_get_text(GTK_EDITABLE(chat_widget->entry)); const char* self = gtk_editable_get_text(GTK_EDITABLE(connector_jid_entry)); - // add message to datastructure + // add message to datastructure and send it data_add_outgoing_message(self, text, chat); + net_send_message(self, text, chat->jid); // clear text input GtkEntryBuffer* buffer; |