|
|
|
|
@ -50,6 +50,7 @@ const ReplyWrapper = () => {
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
const [referenceMsg] = useConversationStore((state) => [state.referenceMsg]);
|
|
|
|
|
const [sessionType] = useConversationStore((state) => [state.currentConversation.session_type]);
|
|
|
|
|
const activeMessages = useConversationStore(
|
|
|
|
|
useShallow((state) => (state.currentConversation.sn && state.activeConversations[state.currentConversation.sn] ? state.activeConversations[state.currentConversation.sn] : []))
|
|
|
|
|
);
|
|
|
|
|
@ -73,7 +74,7 @@ const ReplyWrapper = () => {
|
|
|
|
|
const replyTypes = [
|
|
|
|
|
// { key: 'waba', label: mobile ? '' : (<WABASwitcher />), icon: <WABIcon />, children: <InputComposer channel={'waba'} /> },
|
|
|
|
|
{
|
|
|
|
|
key: 'waba',
|
|
|
|
|
key: 'waba', disabled: sessionType === 1,
|
|
|
|
|
label: mobile ? '' : `商业号(${WABAccountsMapped[whatsAppBusiness]?.verifiedName || '-'})`,
|
|
|
|
|
icon: <WABIcon />,
|
|
|
|
|
children: <InputComposer currentActive={activeChannel === 'waba'} channel={'waba'} />,
|
|
|
|
|
|