From 6aab30f1c3224d703d0fa4e9c763882417e1506e Mon Sep 17 00:00:00 2001
From: Patrick Fic <>
Date: Wed, 24 Feb 2021 16:50:02 -0800
Subject: [PATCH] Disable messaging if missing msid IO-703
---
client/src/components/chat-affix/chat-affix.container.jsx | 3 +++
1 file changed, 3 insertions(+)
diff --git a/client/src/components/chat-affix/chat-affix.container.jsx b/client/src/components/chat-affix/chat-affix.container.jsx
index 49f273ced..22ba1fdd9 100644
--- a/client/src/components/chat-affix/chat-affix.container.jsx
+++ b/client/src/components/chat-affix/chat-affix.container.jsx
@@ -11,6 +11,7 @@ import { connect } from "react-redux";
import { createStructuredSelector } from "reselect";
import { selectBodyshop } from "../../redux/user/user.selectors";
import { selectChatVisible } from "../../redux/messaging/messaging.selectors";
+
const mapStateToProps = createStructuredSelector({
bodyshop: selectBodyshop,
chatVisible: selectChatVisible,
@@ -27,6 +28,8 @@ export function ChatAffixContainer({ bodyshop, chatVisible }) {
if (loading) return ;
if (error) return ;
+ if (!bodyshop || !bodyshop.messagingservicesid) return <>>;
+
return (