From 16b7763c0ea5f2f32d5d1a0dc30c0c5233412d30 Mon Sep 17 00:00:00 2001 From: David Baker Date: Tue, 7 Aug 2018 17:22:12 +0100 Subject: [PATCH] s/limit/limit_type/ --- src/components/structures/LoggedInView.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/structures/LoggedInView.js b/src/components/structures/LoggedInView.js index a6c373f7ef..c23dbaf444 100644 --- a/src/components/structures/LoggedInView.js +++ b/src/components/structures/LoggedInView.js @@ -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;