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