about summary refs log tree commit diff stats
path: root/src/command
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2014-09-13 23:32:09 +0100
committerJames Booth <boothj5@gmail.com>2014-09-13 23:32:09 +0100
commit0239a81c382bcf1e793b35770b9bb5fd45b01836 (patch)
treec071b260c4866ef79a954b3ba56b953303a9b5ee /src/command
parente13940daf4626af7057db8b7239bc6e64c9fd588 (diff)
downloadprofani-tty-0239a81c382bcf1e793b35770b9bb5fd45b01836.tar.gz
Added form validation for jid-single type
Diffstat (limited to 'src/command')
-rw-r--r--src/command/commands.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/command/commands.c b/src/command/commands.c
index e5612d9c..e7409a3e 100644
--- a/src/command/commands.c
+++ b/src/command/commands.c
@@ -1920,6 +1920,7 @@ cmd_room(gchar **args, struct cmd_help_t help)
                 switch (field_type) {
                 case FIELD_TEXT_SINGLE:
                 case FIELD_TEXT_PRIVATE:
+                case FIELD_JID_SINGLE:
                     form_set_value_by_tag(current->form, tag, value);
                     ui_current_print_line("%s set to %s", tag, value);
                     break;