From 967cab059d294a9c1d650843000747def80dfa5a Mon Sep 17 00:00:00 2001 From: ialokim <ialokim@mailbox.org> Date: Fri, 20 Jan 2023 23:57:19 +0100 Subject: [PATCH] remove option to open forums from invitation message --- .../briar/desktop/conversation/ConversationRequestItemView.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/briar-desktop/src/main/kotlin/org/briarproject/briar/desktop/conversation/ConversationRequestItemView.kt b/briar-desktop/src/main/kotlin/org/briarproject/briar/desktop/conversation/ConversationRequestItemView.kt index c61dadfd9d..e6b7c588f4 100644 --- a/briar-desktop/src/main/kotlin/org/briarproject/briar/desktop/conversation/ConversationRequestItemView.kt +++ b/briar-desktop/src/main/kotlin/org/briarproject/briar/desktop/conversation/ConversationRequestItemView.kt @@ -143,9 +143,9 @@ fun ConversationRequestItemView( if (!m.answered) { DialogButton(onClick = { onResponse(false) }, text = i18n("decline"), type = DESTRUCTIVE) DialogButton(onClick = { onResponse(true) }, text = i18n("accept"), type = NEUTRAL) - } else if (m.canBeOpened) { + } /* else if (m.canBeOpened) { DialogButton(onClick = onOpenRequestedShareable, text = i18n("open"), type = NEUTRAL) - } else { + } */ else { Spacer(Modifier.height(8.dp)) } } -- GitLab