From 61be2e29d620006ee141ad88165de1819593ff35 Mon Sep 17 00:00:00 2001 From: xengineering Date: Tue, 16 Aug 2022 10:26:38 +0200 Subject: Implement dummy receiving of XMPP chat messages --- gtk.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'gtk.c') diff --git a/gtk.c b/gtk.c index 3139cbb..fd8ab8a 100644 --- a/gtk.c +++ b/gtk.c @@ -263,3 +263,8 @@ void gui_run(void) { g_object_unref(app); } + +void gui_add_message(const char* sender_jid, const char* content) { + + printf("Received from %s:\n%s\n", sender_jid, content); +} -- cgit v1.2.3-70-g09d2