1.1.3 beta 2 is available here!.
Hi, The XMPP transport sends a probe to everyone in the roster on the remote server after connection. However, the "From" in the probe is my JID on my XMPP server (the one Kraken is running on), not my JID on the remote server. In XMPPSession.syncUsers() ProbePacket probe = new ProbePacket(getJID().toString(), entry.getUser());
I would think it should be my JID on the remote server, if it is set at all. The contacts on the remote server don't have a subscription to my local JID, the have a subscription to my remote JID.
Gtalk doesn't seem to care, but Facebook does (and terminates the connection with an invalid From error) I changed ProbePacket to not set the From and it seems to work fine for the two cases I tested.. Bob |
|||








Re: XMPP Transport
Dooh! Good find! Just committed to trunk! Thanks!
Re: XMPP Transport
Daniel,
I've got XMPP connecting to Facebook, more or less. In addition to the ProbePacket change (before that, actually) I also had to use the SASL MD5-DIGEST mechanism from this thread:
http://www.igniterealtime.org/community/message/200948
Are you planning on implementing the Facebook proprietary SASL mechanism (X-FACEBOOK-PLATFORM)?
I'm receiving chat messages in triplicate for some reason, but I'm receiving them.
Bob