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
s/limit/limit_type/
This commit is contained in:
@ -435,8 +435,8 @@ const LoggedInView = React.createClass({
|
|||||||
|
|
||||||
const mauLimitEvent = this.state.serverNoticeEvents.find((e) => {
|
const mauLimitEvent = 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' &&
|
||||||
e.getContent().limit &&
|
e.getContent().limit_type &&
|
||||||
e.getContent().limit === 'monthly_active_user'
|
e.getContent().limit_type === 'monthly_active_user'
|
||||||
});
|
});
|
||||||
|
|
||||||
let topBar;
|
let topBar;
|
||||||
|
Reference in New Issue
Block a user