Optional
setStateOptions: IMarkerFoundOptionsThe matrix event which caused this event to fire.
The room state whose RoomState.events dictionary was updated.
Fires whenever a member in the members dictionary is updated in any way.
matrixClient.on("RoomState.members", function(event, state, member){
var newMembershipState = member.membership;
});
The matrix event which caused this event to fire.
The room state whose RoomState.members dictionary was updated.
The room member that was updated.
Fires whenever a member is added to the members dictionary. The RoomMember will not be fully populated yet (e.g. no membership state) but will already be available in the members dictionary.
matrixClient.on("RoomState.newMember", function(event, state, member){
// add event listeners on 'member'
});
The matrix event which caused this event to fire.
The room state whose RoomState.members dictionary was updated with a new entry.
The room member that was added.
Generated using TypeDoc
Fires whenever the event dictionary in room state is updated.
Example