diff --git a/src/gatewayresponder.cpp b/src/gatewayresponder.cpp index 2f7c0c352aabb335d31336f7c069677807f3e7c4..c7cbee99bb5eb7083a61e34826caf7a2ea06ae06 100644 --- a/src/gatewayresponder.cpp +++ b/src/gatewayresponder.cpp @@ -45,7 +45,9 @@ GatewayResponder::~GatewayResponder() { } bool GatewayResponder::handleGetRequest(const Swift::JID& from, const Swift::JID& to, const std::string& id, boost::shared_ptr payload) { - sendResponse(from, id, boost::shared_ptr(new GatewayPayload(Swift::JID(), "Enter legacy network contact ID.", "Contact ID"))); + std::string prompt = CONFIG_STRING(m_userManager->getComponent()->getConfig(), "gateway_responder.prompt"); + std::string label = CONFIG_STRING(m_userManager->getComponent()->getConfig(), "gateway_responder.label"); + sendResponse(from, id, boost::shared_ptr(new GatewayPayload(Swift::JID(), label, prompt))); return true; }