about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2014-09-10 00:20:01 +0100
committerJames Booth <boothj5@gmail.com>2014-09-10 00:20:01 +0100
commit0897cd7d170e31a590234fbb53f9b530ad2544c0 (patch)
tree2bb47df471fe15a9b3e361286eae3359985b5533 /src
parentb6f4faf55bc19dfe1ba71ba29a9c1fb9c2935110 (diff)
downloadprofani-tty-0897cd7d170e31a590234fbb53f9b530ad2544c0.tar.gz
Implemented jid-multi display for room config forms
Diffstat (limited to 'src')
-rw-r--r--src/ui/core.c6
1 files changed, 6 insertions, 0 deletions
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);
+                }
             }
         }