diff options
Diffstat (limited to 'gtk.c')
-rw-r--r-- | gtk.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -71,11 +71,10 @@ void send_message(chat_t* chat) { chat_widget_t* chat_widget = (chat_widget_t*)chat->widget; // get recipient and message text - const char* recipient = "unknown@example.com"; // TODO implement this const char* text = gtk_editable_get_text(GTK_EDITABLE(chat_widget->entry)); // execute dummy XMPP send TODO - printf("Sending to %s:\n> %s\n", recipient, text); + printf("Sending to %s:\n> %s\n", chat->jid, text); //// add message content to the chat //GtkWidget* message = gtk_label_new(text); |