MUC service returns wrong number of occupants and duplicate occupants in service discovery

Description

Sending this to a MUC chat room:

Result:

As you can see "Tobias" is listed 3 times, which seems wrong for me.

Might be related to this recent improvement:

This also affects the "muc#roominfo_occupants" field, which returns a higher number of occupants, then it should.

Environment

None

Activity

Show:

Tom Evans January 7, 2016 at 8:13 PM

Submitted PR #498

Tom Evans January 7, 2016 at 6:24 PM

Thanks for the fresh repro/validation. I'll take a look at this one.

Tim Durden January 7, 2016 at 6:11 PM

Confirmed as still an issue in Openfire 4.0.0 beta (nightly: 5th Jan).

Replication Steps:

  • On a single Openfire instance, create a MUC room.

  • Connect to the MUC room from two different clients, but using the same nick.

  • Send the iq message as above:

Observe, multiple results for the same user are returned.

csh November 2, 2015 at 6:47 PM

I can't remember anybody fixed it.

Daryl Herzmann November 2, 2015 at 5:17 PM

Anybody wish to comment on if this is still relevant?

Fixed

Details

Assignee

Reporter

Components

Fix versions

Affects versions

Priority

Created June 8, 2014 at 1:41 PM
Updated January 7, 2016 at 8:13 PM
Resolved January 7, 2016 at 8:13 PM