# HG changeset patch # User Sonny Piers # Date 1308133518 -7200 # Node ID 5cf8a08ef7feb7b4a1dcd60dd0620cd77231e32b # Parent c1a19866a23344f42f639083de9e8bac339ec97b Fix errors in disco#info. diff --git a/xmpp2smtp.js b/xmpp2smtp.js --- a/xmpp2smtp.js +++ b/xmpp2smtp.js @@ -13,7 +13,8 @@ var info = []; info.push(new xmpp.Element("feature", {"var": "http://jabber.org/protocol/disco#info"})); info.push(new xmpp.Element("feature", {"var": "jabber:iq:register"})); info.push(new xmpp.Element("feature", {"var": "jabber:iq:version"})); -info.push(new xmpp.Element("identity", {category: "gateway", type: "irc", name: config.XMPP.name})); +info.push(new xmpp.Element("feature", {"var": "jabber:iq:gateway"})); +info.push(new xmpp.Element("identity", {category: "gateway", type: "smtp", name: config.XMPP.name})); var cl = new xmpp.Component({ jid: config.XMPP.jid,