1. 09 Feb, 2016 1 commit
    • Derek McLean's avatar
      Cannot join room in a cluster after an availability update. · 1a5781c9
      Derek McLean authored
      When a room occupant sends an availability update to a host in an
      Openfire cluster, other users cannot join the room from other hosts in
      the cluster. The availability update causes the other hosts to lose an
      occupant's role and affiliation. New occupants encounter an NPE when
      joining and are prevented from joining the room. Specifically, the NPE
      occurs when Openfire attempts to send initial presences for current
      occupants.
      
      Remote hosts in the cluster lose the occupant's association because the
      local room simply broadcasts the presence packet for the occupant's
      availability update. Because it is from the client, this packet does not
      have the occupant's role or affiliation. The remote hosts treat the
      presence packet as the occupant's presence without modification.
      
      This fix changes the order in which Openfire handles an availability
      update. First, it updates its local view of an occupant's presence. This
      populates the correct association. Then, it broadcasts the updated
      presence to remote hosts in the cluster.
      1a5781c9
  2. 02 Feb, 2016 2 commits
  3. 27 Jan, 2016 2 commits
  4. 26 Jan, 2016 4 commits
  5. 25 Jan, 2016 17 commits
  6. 23 Jan, 2016 1 commit
  7. 22 Jan, 2016 1 commit
  8. 21 Jan, 2016 6 commits
  9. 20 Jan, 2016 2 commits
  10. 19 Jan, 2016 4 commits