Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-710

Presence is sent twice by xmpp

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.4.0
    • 1.4.0
    • camel-xmpp
    • None
    • Patch Available

    Description

      When using smack library sending presence message after login is redundant.
      According to smack documentation (and confirmed by experiment) login sends the presence.
      http://www.igniterealtime.org/builds/smack/docs/latest/javadoc/org/jivesoftware/smack/XMPPConnection.html#login(java.lang.String,%20java.lang.String)

      Logs in to the server using the strongest authentication mode supported by the server, then sets presence to available

      Attachments

        1. patch.txt
          0.7 kB
          Vadim Chekan

        Activity

          People

            davsclaus Claus Ibsen
            vchekan Vadim Chekan
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: