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 (email@example.com/Client), but gets jabber addresses cleaned by StringUtils.parseBareAddress (firstname.lastname@example.org)
FIX is described here: