summaryrefslogtreecommitdiff
path: root/gtk.c
diff options
context:
space:
mode:
authorxengineering <me@xengineering.eu>2022-08-16 11:10:50 +0200
committerxengineering <me@xengineering.eu>2022-08-16 11:10:50 +0200
commit94cca91f9c0036a5ceb95ff4099d2cdc3d9265af (patch)
tree7e7d66d85f41e01b021a5ef5a3cf44a7a9c7e691 /gtk.c
parent61be2e29d620006ee141ad88165de1819593ff35 (diff)
downloadlimox-94cca91f9c0036a5ceb95ff4099d2cdc3d9265af.tar
limox-94cca91f9c0036a5ceb95ff4099d2cdc3d9265af.tar.zst
limox-94cca91f9c0036a5ceb95ff4099d2cdc3d9265af.zip
Add dummy roster request
Diffstat (limited to 'gtk.c')
-rw-r--r--gtk.c9
1 files changed, 9 insertions, 0 deletions
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);
+ }
+}