From 23f8b4ef14f14c9aec6c067285ab02abfb664338 2011-12-08 23:19:09 From: HanzZ Date: 2011-12-08 23:19:09 Subject: [PATCH] Fixed registration from Pidgin --- diff --git a/src/userregistration.cpp b/src/userregistration.cpp index 646722ed15c514cefe3bf1c00dc9e5f36bcd9747..9160465f1784db3c36cea9e5c26e08d203494bf8 100644 --- a/src/userregistration.cpp +++ b/src/userregistration.cpp @@ -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; }