diff --git a/src/settingsadhoccommand.cpp b/src/settingsadhoccommand.cpp index 3677adf9..51ddca42 100644 --- a/src/settingsadhoccommand.cpp +++ b/src/settingsadhoccommand.cpp @@ -60,6 +60,7 @@ boost::shared_ptr SettingsAdHocCommand::getForm() { boost::shared_ptr response(new Swift::Command("settings", m_id, Swift::Command::Completed)); boost::shared_ptr form(new Swift::Form()); form->addField(Swift::FixedFormField::create("This server does not support transport settings. There is no storage backend configured")); + response->setForm(form); return response; } @@ -68,6 +69,7 @@ boost::shared_ptr SettingsAdHocCommand::getForm() { boost::shared_ptr response(new Swift::Command("settings", m_id, Swift::Command::Completed)); boost::shared_ptr form(new Swift::Form()); form->addField(Swift::FixedFormField::create("You are not registered.")); + response->setForm(form); return response; }