[jdev] Re: add, del contact from gateway

Magnus Henoch mange at freemail.hu
Mon Mar 5 18:08:02 CST 2007

"Bruno Bechler Machado" <brunoasdfgh at gmail.com> writes:

>        String absoluteFriend = contact + "@" + gatewayName + "." +
> connection.getServiceName();

You should not use contact as it is, but ask the gateway what the
correct name is, as described in section 6.3 of XEP-0100.

JID: legoscia at jabber.cd.chalmers.se

More information about the JDev mailing list