1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-11-03 19:37:16 -05:00

Added form validation for jid-single type

This commit is contained in:
James Booth 2014-09-13 23:32:09 +01:00
parent e13940daf4
commit 0239a81c38

View File

@ -1920,6 +1920,7 @@ cmd_room(gchar **args, struct cmd_help_t help)
switch (field_type) { switch (field_type) {
case FIELD_TEXT_SINGLE: case FIELD_TEXT_SINGLE:
case FIELD_TEXT_PRIVATE: case FIELD_TEXT_PRIVATE:
case FIELD_JID_SINGLE:
form_set_value_by_tag(current->form, tag, value); form_set_value_by_tag(current->form, tag, value);
ui_current_print_line("%s set to %s", tag, value); ui_current_print_line("%s set to %s", tag, value);
break; break;