Add form and response declaration removed by a mistake

This commit is contained in:
Jan Kaluza 2015-11-13 07:52:13 +01:00
parent 25b4659dd6
commit f19131615e

View file

@ -58,6 +58,9 @@ boost::shared_ptr<Swift::Command> SettingsAdHocCommand::getForm() {
return response;
}
boost::shared_ptr<Swift::Command> response(new Swift::Command("settings", m_id, Swift::Command::Executing));
boost::shared_ptr<Swift::Form> form(new Swift::Form());
std::string value;
int type = (int) TYPE_BOOLEAN;