s/limit/limit_type/

pull/21833/head
David Baker 2018-08-07 17:22:12 +01:00
parent 6593ee09d1
commit 16b7763c0e
1 changed files with 2 additions and 2 deletions

View File

@ -435,8 +435,8 @@ const LoggedInView = React.createClass({
const mauLimitEvent = this.state.serverNoticeEvents.find((e) => {
return e && e.getType() === 'm.server_notice.usage_limit_reached' &&
e.getContent().limit &&
e.getContent().limit === 'monthly_active_user'
e.getContent().limit_type &&
e.getContent().limit_type === 'monthly_active_user'
});
let topBar;