Uploaded image for project: 'Smack'
  1. Smack
  2. SMACK-269

Smack 3.1.0 creates a new chat for every incoming message

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.1.0
    • Fix Version/s: 3.2.0
    • Component/s: Core
    • Labels:
      None

      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

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              rcollier Robin Collier
              Reporter:
              webeling Walter Ebeling
              Votes:
              5 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: