Handle also TextIsngleFormField in Settings command
This commit is contained in:
parent
1ebd041848
commit
5f607b5622
1 changed files with 1 additions and 0 deletions
|
@ -99,6 +99,7 @@ boost::shared_ptr<Swift::Command> SettingsAdHocCommand::handleResponse(boost::sh
|
|||
m_storageBackend->updateUserSetting(user.id, f->getName(), value);
|
||||
}
|
||||
else if (boost::dynamic_pointer_cast<Swift::TextSingleFormField>(received)) {
|
||||
Swift::TextSingleFormField::ref f(boost::dynamic_pointer_cast<Swift::TextSingleFormField>(received));
|
||||
m_storageBackend->updateUserSetting(user.id, f->getName(), f->getValue());
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue