Details
Description
Smack 3.1.0 creates a new chat for every incoming message
Forum Post Quote:
I've found a bug which took a few hours to figure out:
If the remote client doesn't supply a thread-id (psi doesn't), then Smack will create a new Chat for every thread. It can't ever reuse chats from ChatManager.jidChats because of an impedance mismatch.
The problem is, it puts raw jabber addresses as keys (foo@bar.org/Client), but gets jabber addresses cleaned by StringUtils.parseBareAddress (foo@bar.org)
FIX is described here:
http://www.igniterealtime.org/community/message/189614
Major problem
--------------------
ThreadID is everywhere documented as the unique identifier for chat messages. If a packet do not contain a threadID then how smack figure out the chat object to which the packet needs to be delivered ?