Commit Graph

3 Commits (bb6659f9839b87e94e4235ce113c6102bf7f1cc8)

Author SHA1 Message Date
Michael Telatynski 412d84ccb2 improve comments 2020-12-09 11:09:18 +00:00
Michael Telatynski ecb0b0113f Also use `getJoinedMemberCount` as its capable of using the room summary member count instead
Leave the useRoomMembers hook for future use as it is very useful.
2020-12-09 11:07:40 +00:00
Michael Telatynski 184c73cca4 Throttle RoomState.members handler to improve performance
Lazy Loading emits a RoomState.members for each member which in the case of a room like
Matrix HQ means it happens over 8000 times in a very short span of time causing the UI
to lock up.
2020-12-09 11:02:30 +00:00