From 0897cd7d170e31a590234fbb53f9b530ad2544c0 Mon Sep 17 00:00:00 2001 From: James Booth Date: Wed, 10 Sep 2014 00:20:01 +0100 Subject: [PATCH] Implemented jid-multi display for room config forms --- src/ui/core.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/ui/core.c b/src/ui/core.c index 532161cf..f5a75cfd 100644 --- a/src/ui/core.c +++ b/src/ui/core.c @@ -1985,6 +1985,12 @@ TODO add command to get help for a field } } if (g_strcmp0(field->type, "jid-multi") == 0) { + win_save_newline(window); + while (curr_value != NULL) { + char *value = curr_value->data; + win_save_vprint(window, '-', NULL, 0, COLOUR_ONLINE, "", " %s", value); + curr_value = g_slist_next(curr_value); + } } }