We're updating the issue view to help you get more done. 

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

Acceptance Test - Entry

None

Activity

Show:
Daryl Herzmann
November 2, 2015, 5:17 PM

Anybody wish to comment on if this is still relevant?

csh
November 2, 2015, 6:47 PM

I can't remember anybody fixed it.

Tim Durden
January 7, 2016, 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.

Tom Evans
January 7, 2016, 6:24 PM

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

Tom Evans
January 7, 2016, 8:13 PM

Submitted PR #498

Assignee

Tom Evans

Reporter

csh

Labels

None

Expected Effort

None

Ignite Forum URL

None

Components

Fix versions

Affects versions

Priority

Major
Configure