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:
parent
e13940daf4
commit
0239a81c38
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user