diff --git a/app/soapbox/features/account/components/header.tsx b/app/soapbox/features/account/components/header.tsx index cb5254aac..f0a6d9033 100644 --- a/app/soapbox/features/account/components/header.tsx +++ b/app/soapbox/features/account/components/header.tsx @@ -654,33 +654,33 @@ const Header: React.FC = ({ account }) => { return info; }; - const renderMessageButton = () => { - if (!ownAccount || !account || account.id === ownAccount?.id) { - return null; - } + // const renderMessageButton = () => { + // if (!ownAccount || !account || account.id === ownAccount?.id) { + // return null; + // } - const canChat = account.getIn(['pleroma', 'accepts_chat_messages']) === true; + // const canChat = account.getIn(['pleroma', 'accepts_chat_messages']) === true; - if (canChat) { - return ( - - ); - } else { - return ( - - ); - } - }; + // if (canChat) { + // return ( + // + // ); + // } else { + // return ( + // + // ); + // } + // }; const renderShareButton = () => { const canShare = 'share' in navigator; @@ -796,7 +796,7 @@ const Header: React.FC = ({ account }) => { )} {renderShareButton()} - {renderMessageButton()} + {/* {renderMessageButton()} */}