From 8e7d58797dbb0462ada9b5209e8e7a6239b8277c Mon Sep 17 00:00:00 2001 From: Luke Barnard Date: Mon, 25 Sep 2017 14:48:49 +0100 Subject: [PATCH] _loadGroupFromServer -> _initGroupSummaryStore --- src/components/structures/GroupView.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/components/structures/GroupView.js b/src/components/structures/GroupView.js index 77034c3594..969a58bf9f 100644 --- a/src/components/structures/GroupView.js +++ b/src/components/structures/GroupView.js @@ -403,7 +403,7 @@ export default React.createClass({ componentWillMount: function() { this._changeAvatarComponent = null; - this._loadGroupFromServer(this.props.groupId); + this._initGroupSummaryStore(this.props.groupId); MatrixClientPeg.get().on("Group.myMembership", this._onGroupMyMembership); }, @@ -418,7 +418,7 @@ export default React.createClass({ summary: null, error: null, }, () => { - this._loadGroupFromServer(newProps.groupId); + this._initGroupSummaryStore(newProps.groupId); }); } }, @@ -429,7 +429,7 @@ export default React.createClass({ this.setState({membershipBusy: false}); }, - _loadGroupFromServer: function(groupId) { + _initGroupSummaryStore: function(groupId) { this._groupSummaryStore = new GroupSummaryStore( MatrixClientPeg.get(), this.props.groupId, ); @@ -516,7 +516,7 @@ export default React.createClass({ editing: false, summary: null, }); - this._loadGroupFromServer(this.props.groupId); + this._initGroupSummaryStore(this.props.groupId); }).catch((e) => { this.setState({ saving: false,