Pass matrixClient as an argument to GSS constructor
This commit is contained in:
parent
791bc5e7ac
commit
b8dca58f4f
2 changed files with 10 additions and 8 deletions
|
@ -430,7 +430,9 @@ export default React.createClass({
|
|||
},
|
||||
|
||||
_loadGroupFromServer: function(groupId) {
|
||||
this._groupSummaryStore = new GroupSummaryStore(this.props.groupId);
|
||||
this._groupSummaryStore = new GroupSummaryStore(
|
||||
MatrixClientPeg.get(), this.props.groupId,
|
||||
);
|
||||
this._groupSummaryStore.on('update', () => {
|
||||
this.setState({
|
||||
summary: this._groupSummaryStore.getSummary(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue