matrix-js-sdk
7e1cea1e - Cache the joined member count for a room state

Comment changes are shownComment changes are hidden
Commit
7 years ago
Cache the joined member count for a room state Pushrule evaluation needs the count of joined room members and filtering the list for joined members takes a nontrivial amount of time, but caching it is trivial, both code and memory wise.
Author
Parents
  • src
    • models
      • File
        room-state.js
    • File
      pushprocessor.js