diff --git a/spectrum/src/frontends/xmpp/XMPPFrontend.cpp b/spectrum/src/frontends/xmpp/XMPPFrontend.cpp index 8969af5a5a26919c9c1a6c6f8d4e330770c83cff..a5101878e0986e3ac8804088df60f4cd38472bf5 100644 --- a/spectrum/src/frontends/xmpp/XMPPFrontend.cpp +++ b/spectrum/src/frontends/xmpp/XMPPFrontend.cpp @@ -396,4 +396,13 @@ void XMPPFrontend::handleCapsChanged(const Swift::JID& jid) { onCapabilitiesReceived(jid, m_entityCapsManager->getCaps(jid)); } +std::string XMPPFrontend::getRegistrationFields() { + std::string fields = "Jabber ID"; +// if (CONFIG_BOOL(m_config, "registration.needRegistration")) { + fields += "\n" + CONFIG_STRING(m_config, "registration.username_label") + "\n"; + fields += CONFIG_STRING(m_config, "registration.password_label"); +// } + return fields; +} + }