matrix-js-sdk
2c0eb19a
- Fix sentinels changing from underneath us!
Go
Login via GitHub
Home
Pricing
FAQ
Install
Login
via GitHub
Commit
View On
GitHub
Commit
7 years ago
Fix sentinels changing from underneath us! As RoomMember contains the event in a nested object (events.member), a shallow copy was not enough to be immutable. This solution won't copy OOB flags but that's not neccesary for sentinels.
References
#691 - Lazy loading of room members
Author
bwindels
Committer
bwindels
Parents
748c4737
Loading