From 94cca91f9c0036a5ceb95ff4099d2cdc3d9265af Mon Sep 17 00:00:00 2001 From: xengineering Date: Tue, 16 Aug 2022 11:10:50 +0200 Subject: Add dummy roster request --- gtk.c | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'gtk.c') diff --git a/gtk.c b/gtk.c index fd8ab8a..47caac0 100644 --- a/gtk.c +++ b/gtk.c @@ -268,3 +268,12 @@ void gui_add_message(const char* sender_jid, const char* content) { printf("Received from %s:\n%s\n", sender_jid, content); } + +void gui_add_roster_item(const char* jid, const char* sub, const char* name) { + + if (name) { + printf("roster item: %s, %s, sub:%s\n", name, jid, sub); + } else { + printf("roster item: (no name), %s, sub:%s\n", jid, sub); + } +} -- cgit v1.2.3-70-g09d2