From 23f8b4ef14f14c9aec6c067285ab02abfb664338 Mon Sep 17 00:00:00 2001 From: HanzZ Date: Thu, 8 Dec 2011 23:19:09 +0100 Subject: [PATCH] Fixed registration from Pidgin --- src/userregistration.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/userregistration.cpp b/src/userregistration.cpp index 646722ed..9160465f 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; }