You've already forked element-web
mirror of
https://github.com/element-hq/element-web.git
synced 2025-11-29 21:23:11 +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