matrixClient.on("RoomMember.membership", function(event, member, oldMembership){
var newState = member.membership;
});
The matrix event which caused this event to fire.
The member whose RoomMember.membership changed.
Optional
oldMembership: stringThe previous membership state. Null if it's a new member.
Fires whenever any room member's name changes.
matrixClient.on("RoomMember.name", function(event, member){
var newName = member.name;
});
The matrix event which caused this event to fire.
The member whose RoomMember.name changed.
The previous name. Null if the member didn't have a name previously.
Fires whenever any room member's power level changes.
matrixClient.on("RoomMember.powerLevel", function(event, member){
var newPowerLevel = member.powerLevel;
var newNormPowerLevel = member.powerLevelNorm;
});
The matrix event which caused this event to fire.
The member whose RoomMember.powerLevel changed.
Fires whenever any room member's typing state changes.
matrixClient.on("RoomMember.typing", function(event, member){
var isTyping = member.typing;
});
The matrix event which caused this event to fire.
The member whose RoomMember.typing changed.
Generated using TypeDoc
Fires whenever any room member's membership state changes.