1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-12-04 14:46:46 -05:00

Implemented jid-multi display for room config forms

This commit is contained in:
James Booth 2014-09-10 00:20:01 +01:00
parent b6f4faf55b
commit 0897cd7d17

View File

@ -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);
}
}
}