Uploaded image for project: 'Openfire'
  1. Openfire
  2. OF-1146

LocalMUCRoom.addParticipant no longer works

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.0.2
    • Fix Version/s: 4.1.0
    • Component/s: MUC
    • Labels:

      Description

      When attempting to upgrade Openfire to the latest version, we noticed that joining a room as a visitor and then changing to a participant no longer works.

      The change here https://github.com/igniterealtime/Openfire/commit/3b3aa8d7fb6ced800d02739d5af8ea3c6710cf45 makes a copy of the extendedInformation node, so that calculateExtendedInformation no longer updates the presence element properly. Changing the role or affiliation continues to happily send the outdated presence payload to users.

      Setting this.extendedInformation = exi after updating to the new presence seems to resolve the issue, but I'm not sure if that is the correct fix, as it seems like there might be some thread safety implications. Let me know if you need more information.

        Attachments

          Activity

            People

            Assignee:
            dwd Dave Cridland
            Reporter:
            benv Ben Vinson
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: