The matrix event which caused this event to fire.
The user whose User.avatarUrl changed.
matrixClient.on("User.avatarUrl", function(event, user){
var newUrl = user.avatarUrl;
});
Fires whenever any user's currentlyActive changes.
The matrix event which caused this event to fire.
The user whose User.currentlyActive changed.
matrixClient.on("User.currentlyActive", function(event, user){
var newCurrentlyActive = user.currentlyActive;
});
Fires whenever any user's display name changes.
The matrix event which caused this event to fire.
The user whose User.displayName changed.
matrixClient.on("User.displayName", function(event, user){
var newName = user.displayName;
});
Fires whenever any user's lastPresenceTs changes, ie. whenever any presence event is received for a user.
The matrix event which caused this event to fire.
The user whose User.lastPresenceTs changed.
matrixClient.on("User.lastPresenceTs", function(event, user){
var newlastPresenceTs = user.lastPresenceTs;
});
Fires whenever any user's presence changes.
The matrix event which caused this event to fire.
The user whose User.presence changed.
matrixClient.on("User.presence", function(event, user){
var newPresence = user.presence;
});
Generated using TypeDoc
Fires whenever any user's avatar URL changes.