You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-07-28 15:22:05 +03:00
Rename variable as it's now not just MAU
This commit is contained in:
@ -433,7 +433,7 @@ const LoggedInView = React.createClass({
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
const mauLimitEvent = this.state.serverNoticeEvents.find((e) => {
|
const usageLimitEvent = this.state.serverNoticeEvents.find((e) => {
|
||||||
return e && e.getType() === 'm.server_notice.usage_limit_reached';
|
return e && e.getType() === 'm.server_notice.usage_limit_reached';
|
||||||
});
|
});
|
||||||
|
|
||||||
@ -444,10 +444,10 @@ const LoggedInView = React.createClass({
|
|||||||
adminContact={this.state.syncErrorData.error.data.admin_contact}
|
adminContact={this.state.syncErrorData.error.data.admin_contact}
|
||||||
limitType={this.state.syncErrorData.error.data.limit_type}
|
limitType={this.state.syncErrorData.error.data.limit_type}
|
||||||
/>;
|
/>;
|
||||||
} else if (mauLimitEvent) {
|
} else if (usageLimitEvent) {
|
||||||
topBar = <ServerLimitBar kind='soft'
|
topBar = <ServerLimitBar kind='soft'
|
||||||
adminContact={mauLimitEvent.getContent().admin_contact}
|
adminContact={usageLimitEvent.getContent().admin_contact}
|
||||||
limitType={mauLimitEvent.getContent().limit_type}
|
limitType={usageLimitEvent.getContent().limit_type}
|
||||||
/>;
|
/>;
|
||||||
} else if (this.props.showCookieBar &&
|
} else if (this.props.showCookieBar &&
|
||||||
this.props.config.piwik
|
this.props.config.piwik
|
||||||
|
Reference in New Issue
Block a user