diff options
author | hristoterezov <hristo@jitsi.org> | 2014-05-29 17:30:47 +0300 |
---|---|---|
committer | hristoterezov <hristo@jitsi.org> | 2014-05-29 17:30:47 +0300 |
commit | 766ef1ee6ce230cdc6ed86cd92f22b712c00762d (patch) | |
tree | 971440aac7d5d341c5cfb3e0c4c2fcb1652304e2 /src/net/java/sip/communicator/impl | |
parent | 3b8601d24cf2b7e199476a783f64365c67e6d392 (diff) | |
download | jitsi-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.java | 2 |
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); |