[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [ecf-dev] Possible bug: XMPP message receiver does not include resource ID
|
Hi Jorg,
Jörg Rathlev wrote:
Hi all,
I believe I have found a bug related to using XMPP with multiple logins
distiguished by resource ID.
In the class org.eclipse.ecf.internal.provider.xmpp.smack.ECFConnection,
method #sendMessage(ID, Message), line 321 (CVS revision 1.25), the
receiver of the XMPP message is set to username@host:
final String userAtHost = rcvr.getUsernameAtHost();
final Chat localChat = connection.createChat(userAtHost);
This seems to cause the XMPP messages to be sent to the user which
logged in last instead of the specific user which the message is
intended for. If I replace the line with:
final String userAtHost = rcvr.getFQName();
the problem disappears. Can you confirm that this is indeed a bug?
Sounds like it may indeed be a bug. Please open a bugzilla entry and we
will address.
Thanks for finding and reporting!
Scott