Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormmayworm2009-05-16 12:33:59 -0400
committermmayworm2009-05-16 12:33:59 -0400
commit8a74a991e3f8a0cdcd9b2d86d6e42236e5fa3d1c (patch)
tree5e7beb82ef555e59d15926a8a343ad0d818f000a /providers/bundles/org.eclipse.ecf.provider.xmpp
parent128111c52a2c2f6007f6158fd87bfa9e6709baf2 (diff)
downloadorg.eclipse.ecf-8a74a991e3f8a0cdcd9b2d86d6e42236e5fa3d1c.tar.gz
org.eclipse.ecf-8a74a991e3f8a0cdcd9b2d86d6e42236e5fa3d1c.tar.xz
org.eclipse.ecf-8a74a991e3f8a0cdcd9b2d86d6e42236e5fa3d1c.zip
fixing the bug: 276541v20090517-1524
Diffstat (limited to 'providers/bundles/org.eclipse.ecf.provider.xmpp')
-rw-r--r--providers/bundles/org.eclipse.ecf.provider.xmpp/src/org/eclipse/ecf/internal/provider/xmpp/smack/ECFConnection.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/providers/bundles/org.eclipse.ecf.provider.xmpp/src/org/eclipse/ecf/internal/provider/xmpp/smack/ECFConnection.java b/providers/bundles/org.eclipse.ecf.provider.xmpp/src/org/eclipse/ecf/internal/provider/xmpp/smack/ECFConnection.java
index 64349bdee..fc1974a67 100644
--- a/providers/bundles/org.eclipse.ecf.provider.xmpp/src/org/eclipse/ecf/internal/provider/xmpp/smack/ECFConnection.java
+++ b/providers/bundles/org.eclipse.ecf.provider.xmpp/src/org/eclipse/ecf/internal/provider/xmpp/smack/ECFConnection.java
@@ -318,8 +318,8 @@ public class ECFConnection implements ISynchAsynchConnection {
else if (receiver instanceof XMPPID) {
final XMPPID rcvr = (XMPPID) receiver;
aMsg.setType(Message.Type.CHAT);
- final String userAtHost = rcvr.getUsernameAtHost();
- final Chat localChat = connection.createChat(userAtHost);
+ final String receiverName = rcvr.getFQName();
+ final Chat localChat = connection.createChat(receiverName);
localChat.sendMessage(aMsg);
} else if (receiver instanceof XMPPRoomID) {
final XMPPRoomID roomID = (XMPPRoomID) receiver;

Back to the top