mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-16 13:14:58 +08:00
Merge pull request #1686 from matrix-org/luke/fix-get-users-rooms-for-joined-groups
Prefetch group data for all joined groups when RoomList mounts
This commit is contained in:
commit
50aeea8f05
@ -96,7 +96,7 @@ module.exports = React.createClass({
|
||||
this._visibleRooms = [];
|
||||
// When the selected tags are changed, initialise a group store if necessary
|
||||
this._tagStoreToken = TagOrderStore.addListener(() => {
|
||||
TagOrderStore.getSelectedTags().forEach((tag) => {
|
||||
(TagOrderStore.getOrderedTags() || []).forEach((tag) => {
|
||||
if (tag[0] !== '+' || this._groupStores[tag]) {
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user