1
0
mirror of https://github.com/matrix-org/matrix-js-sdk.git synced 2025-11-29 16:43:09 +03:00

Reset megolm session when people join/leave the room

This commit is contained in:
Richard van der Hoff
2016-08-26 11:23:01 +01:00
parent 2da70ca024
commit b4f22310ea
7 changed files with 91 additions and 14 deletions

View File

@@ -403,6 +403,8 @@ function setupCryptoEventHandler(client) {
}
onCryptoEvent(client, event);
});
client.on("RoomMember.membership",
client._crypto.onRoomMembership.bind(client._crypto));
}
function onCryptoEvent(client, event) {