# HG changeset patch # User Sonny Piers # Date 1308133518 -7200 # Node ID 5cf8a08ef7feb7b4a1dcd60dd0620cd77231e32b # Parent c1a19866a23344f42f639083de9e8bac339ec97b Fix errors in disco#info. diff -r c1a19866a233 -r 5cf8a08ef7fe xmpp2smtp.js --- a/xmpp2smtp.js Wed Jun 15 07:55:28 2011 +0200 +++ b/xmpp2smtp.js Wed Jun 15 12:25:18 2011 +0200 @@ -13,7 +13,8 @@ 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,