From 7815a6ee9054f3e2b6f9f4b56bb192dd647c8dea Mon Sep 17 00:00:00 2001 From: Thomas Belin Date: Wed, 13 Sep 2023 11:55:50 +0200 Subject: [PATCH] fix: Do not show conversation location for public wire (#4428) --- .github/workflows/test_build_deploy.yml | 2 +- src/script/page/ConversationJoin.tsx | 8 +++++--- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test_build_deploy.yml b/.github/workflows/test_build_deploy.yml index 109cc8c3d2..3b56900456 100644 --- a/.github/workflows/test_build_deploy.yml +++ b/.github/workflows/test_build_deploy.yml @@ -78,7 +78,7 @@ jobs: - name: Monitor coverage if: github.event_name == 'pull_request' && matrix.DISTRIBUTION == 'DISTRIBUTION_0' - uses: slavcodev/coverage-monitor-action@1.1.0 + uses: slavcodev/coverage-monitor-action@1.8.0 with: github_token: ${{github.token}} clover_file: 'coverage/clover.xml' diff --git a/src/script/page/ConversationJoin.tsx b/src/script/page/ConversationJoin.tsx index fb895d0d46..1786d81643 100644 --- a/src/script/page/ConversationJoin.tsx +++ b/src/script/page/ConversationJoin.tsx @@ -97,9 +97,11 @@ export const ConversationJoin: React.FC = ({location}) => {hasDisplayedButtons() ? ( <> {t('description', {ns: translationNamespaces})} - - {t('conversationLocation', {domain, ns: translationNamespaces})} - + {IS_SELF_HOSTED && ( + + {t('conversationLocation', {domain, ns: translationNamespaces})} + + )} {t('wirelessHeadline', {brandName: BRAND_NAME, domain, ns: translationNamespaces})}