Fires whenever any room member's membership state changes.
matrixClient.on("RoomMember.membership", function(event, member, oldMembership){ var newState = member.membership;}); Copy
matrixClient.on("RoomMember.membership", function(event, member, oldMembership){ var newState = member.membership;});
Fires whenever any room member's name changes.
matrixClient.on("RoomMember.name", function(event, member){ var newName = member.name;}); Copy
matrixClient.on("RoomMember.name", function(event, member){ var newName = member.name;});
Fires whenever any room member's power level changes.
matrixClient.on("RoomMember.powerLevel", function(event, member){ var newPowerLevel = member.powerLevel; var newNormPowerLevel = member.powerLevelNorm;}); Copy
matrixClient.on("RoomMember.powerLevel", function(event, member){ var newPowerLevel = member.powerLevel; var newNormPowerLevel = member.powerLevelNorm;});
Fires whenever any room member's typing state changes.
matrixClient.on("RoomMember.typing", function(event, member){ var isTyping = member.typing;}); Copy
matrixClient.on("RoomMember.typing", function(event, member){ var isTyping = member.typing;});
Fires whenever any room member's membership state changes.