Fixed registration from Pidgin

This commit is contained in:
HanzZ 2011-12-08 23:19:09 +01:00
parent 9fe33ad586
commit 23f8b4ef14

View file

@ -286,6 +286,10 @@ bool UserRegistration::handleSetRequest(const Swift::JID& from, const Swift::JID
else if (textSingle->getName() == "encoding") {
encoding = textSingle->getValue();
}
// Pidgin sends it as textSingle, not sure why...
else if (textSingle->getName() == "password") {
payload->setPassword(textSingle->getValue());
}
continue;
}