1
0
mirror of https://github.com/matrix-org/matrix-js-sdk.git synced 2025-12-23 22:42:10 +03:00

Merge pull request #212 from matrix-org/rav/get_devicelist_on_join

Pull user device list on join
This commit is contained in:
Matthew Hodgson
2016-09-17 19:21:17 +01:00
committed by GitHub
2 changed files with 29 additions and 5 deletions

View File

@@ -1065,9 +1065,10 @@ Crypto.prototype._onRoomKeyEvent = function(event) {
*/
Crypto.prototype._onRoomMembership = function(event, member, oldMembership) {
// this event handler is registered on the *client* (as opposed to the
// room member itself), which means it is only called on changes to the
// *live* membership state (ie, it is not called when we back-paginate).
// this event handler is registered on the *client* (as opposed to the room
// member itself), which means it is only called on changes to the *live*
// membership state (ie, it is not called when we back-paginate, nor when
// we load the state in the initialsync).
//
// Further, it is automatically registered and called when new members
// arrive in the room.