1
0
mirror of https://github.com/matrix-org/matrix-js-sdk.git synced 2025-09-16 04:42:05 +03:00
Files
Kegan Dougal 7a02c5d167 Add concept of 'sentinel' RoomMembers which watch state at a particular point in time.
New sentinels are only created when the RoomMember state changes, so we don't
needlessly deep copy RoomMembers f.e. MatrixEvent. Sentinels co-exist with
RoomState.members which are single instances to which listeners can be attached.
This gets the best of both worlds (don't have to keep re-attaching listeners on
member changes, don't have needless memory consumption).
2015-06-12 15:38:02 +01:00
..
2015-06-08 10:32:20 +01:00
2015-06-08 17:31:53 +01:00