Uploaded image for project: 'Openfire'
  1. OF-821

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

    Details

    • Type: Bug
    • Status: Resolved (View workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects versions: 3.9.3
    • Fix versions: 4.0.0
    • Components: MUC
    • Labels:
      None

      Description

      Sending this to a MUC chat room:

      <iq id="1" to="open_chat@conference.igniterealtime.org" type="get">
      <query xmlns="http://jabber.org/protocol/disco#items"/>
      </iq>
      

      Result:

      <iq from='open_chat@conference.igniterealtime.org' to='myJid' type='result' id='1'>
      <query xmlns='http://jabber.org/protocol/disco#items'>
      <item jid='open_chat@conference.igniterealtime.org/aRyo'/>
      <item jid='open_chat@conference.igniterealtime.org/BigD'/>
      <item jid='open_chat@conference.igniterealtime.org/Tobias'/>
      <item jid='open_chat@conference.igniterealtime.org/csh'/>
      <item jid='open_chat@conference.igniterealtime.org/laurentb'/>
      <item jid='open_chat@conference.igniterealtime.org/Tobias'/>
      <item jid='open_chat@conference.igniterealtime.org/akrherz'/>
      <item jid='open_chat@conference.igniterealtime.org/Tobias'/>
      </query>
      </iq>
      

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

      Might be related to this recent improvement: OF-103 Resolved

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

        Attachments

          Activity

            People

            • Assignee:
              Tom Evans
              Reporter:
              csh
            • Votes:
              1 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: