In Chat Room, the count of users between nodes is different. Node running room shows correct value, remote nodes show incorrect values.

Description

If running in a clustered environment, the chatroom user count can be different in both nodes.

Environment

None

Acceptance Test - Entry

None

Activity

Show:
Guus der Kinderen
October 14, 2008, 9:21 PM

This is likely to be caused by the way a nickname is represented in the MUCRole descendants.

LocalMUC user creates a (local) MUCRole like this:

While RemoteMUCRole gets its nickname from an event, that specifies the value like this:

Notice that one implementation trims the resource, while the other one doesn't.

This behavior corresponds with what we see on our domain: malicious users are flooding MUC rooms with nicknames that never get cleaned up (not even after the client disconnects).

Guus der Kinderen
October 16, 2008, 1:58 PM

Verified the patch locally. Problem prevented.

Fixed

Assignee

Gaston Dombiak

Reporter

Guus der Kinderen

Labels

None

Expected Effort

None

Ignite Forum URL

None

Components

Fix versions

Priority

Major
Configure