From dcfb39efa4a4eb5391bb356cb2c91bc4420d4e54 Mon Sep 17 00:00:00 2001 From: Miguel Alatzar Date: Tue, 16 Jul 2019 14:52:58 -0700 Subject: [PATCH] Handle null currentChannelMember (#2980) --- app/screens/channel_info/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/screens/channel_info/index.js b/app/screens/channel_info/index.js index f850d116f..daf752bf7 100644 --- a/app/screens/channel_info/index.js +++ b/app/screens/channel_info/index.js @@ -96,7 +96,7 @@ function mapStateToProps(state) { currentChannelMemberCount, currentUserId, isChannelMuted: isChannelMuted(currentChannelMember), - ignoreChannelMentions: areChannelMentionsIgnored(currentChannelMember.notify_props, currentUser.notify_props), + ignoreChannelMentions: areChannelMentionsIgnored(currentChannelMember && currentChannelMember.notify_props, currentUser.notify_props), isCurrent, isFavorite, status,