You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-07-22 18:41:57 +03:00
Pass matrixClient as an argument to GSS constructor
This commit is contained in:
@ -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(),
|
||||
|
Reference in New Issue
Block a user