mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-29 22:06:21 +00:00
Added form validation for jid-single type
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user