summaryrefslogtreecommitdiff
path: root/gtk.c
diff options
context:
space:
mode:
authorxengineering <me@xengineering.eu>2022-08-16 10:26:38 +0200
committerxengineering <me@xengineering.eu>2022-08-16 10:26:38 +0200
commit61be2e29d620006ee141ad88165de1819593ff35 (patch)
tree93f771a8357ae2fe3f6a5d1cd38379b6113fe554 /gtk.c
parentba1c1dd3142ae48d547f839dabb3c1830740cef8 (diff)
downloadlimox-61be2e29d620006ee141ad88165de1819593ff35.tar
limox-61be2e29d620006ee141ad88165de1819593ff35.tar.zst
limox-61be2e29d620006ee141ad88165de1819593ff35.zip
Implement dummy receiving of XMPP chat messages
Diffstat (limited to 'gtk.c')
-rw-r--r--gtk.c5
1 files changed, 5 insertions, 0 deletions
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);
+}