Include the room's JID in a Room's item data. This helps clients to correlate room occupants with the rooms they occupy (for example when a moderator kicks a user from the client). Also, when a user is kicked we only dispatch USER_KICKED, and not USER_DEPARTED in addition.
Include the room's JID in a Room's item data. This helps clients to correlate room occupants with the rooms they occupy (for example when a moderator kicks a user from the client). Also, when a user is kicked we only dispatch USER_KICKED, and not USER_DEPARTED in addition.

igniterealtime/XIFF