LocalMUCRoom.addParticipant no longer works

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.

Environment

None

Activity

Show:

csh August 2, 2016 at 7:34 AM

I've made a Pull Request:
https://github.com/igniterealtime/Openfire/pull/621

Affiliations updates are affected as well.

Fixed

Details

Assignee

Reporter

Components

Fix versions

Affects versions

Priority

Created June 9, 2016 at 10:27 PM
Updated December 12, 2016 at 3:12 PM
Resolved December 12, 2016 at 3:12 PM

Flag notifications