s/limit/limit_type/

This commit is contained in:
David Baker 2018-08-07 17:22:12 +01:00
parent 6593ee09d1
commit 16b7763c0e

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;