aboutsummaryrefslogtreecommitdiffstats
path: root/src/net/java/sip/communicator/impl
diff options
context:
space:
mode:
authorhristoterezov <hristo@jitsi.org>2014-05-29 17:30:47 +0300
committerhristoterezov <hristo@jitsi.org>2014-05-29 17:30:47 +0300
commit766ef1ee6ce230cdc6ed86cd92f22b712c00762d (patch)
tree971440aac7d5d341c5cfb3e0c4c2fcb1652304e2 /src/net/java/sip/communicator/impl
parent3b8601d24cf2b7e199476a783f64365c67e6d392 (diff)
downloadjitsi-766ef1ee6ce230cdc6ed86cd92f22b712c00762d.zip
jitsi-766ef1ee6ce230cdc6ed86cd92f22b712c00762d.tar.gz
jitsi-766ef1ee6ce230cdc6ed86cd92f22b712c00762d.tar.bz2
Adds from and type attributes to the message XMPP packets.
Diffstat (limited to 'src/net/java/sip/communicator/impl')
-rw-r--r--src/net/java/sip/communicator/impl/protocol/jabber/OperationSetBasicInstantMessagingJabberImpl.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/net/java/sip/communicator/impl/protocol/jabber/OperationSetBasicInstantMessagingJabberImpl.java b/src/net/java/sip/communicator/impl/protocol/jabber/OperationSetBasicInstantMessagingJabberImpl.java
index 6f142a6..0b53ccb 100644
--- a/src/net/java/sip/communicator/impl/protocol/jabber/OperationSetBasicInstantMessagingJabberImpl.java
+++ b/src/net/java/sip/communicator/impl/protocol/jabber/OperationSetBasicInstantMessagingJabberImpl.java
@@ -487,6 +487,8 @@ public class OperationSetBasicInstantMessagingJabberImpl
threadID = nextThreadID();
msg.setThread(threadID);
+ msg.setType(org.jivesoftware.smack.packet.Message.Type.chat);
+ msg.setFrom(jabberProvider.getConnection().getUser());
jabberProvider.getConnection().sendPacket(msg);