From 8fdb571532e224df91cf94ed7fc8fadf54b5864d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Sebastian=20K=C3=BCrten?= <sebastian@mobanisto.de>
Date: Tue, 22 Feb 2022 14:57:26 +0100
Subject: [PATCH] Fix bug that introductions can only be declined not accepted

---
 .../briar/desktop/conversation/ConversationRequestItemView.kt   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main/kotlin/org/briarproject/briar/desktop/conversation/ConversationRequestItemView.kt b/src/main/kotlin/org/briarproject/briar/desktop/conversation/ConversationRequestItemView.kt
index 534016ebd0..ff66f9685c 100644
--- a/src/main/kotlin/org/briarproject/briar/desktop/conversation/ConversationRequestItemView.kt
+++ b/src/main/kotlin/org/briarproject/briar/desktop/conversation/ConversationRequestItemView.kt
@@ -125,7 +125,7 @@ fun ConversationRequestItemView(
                 Row(modifier = Modifier.align(statusAlignment)) {
                     if (!m.answered) {
                         DialogButton(onClick = { onResponse(false) }, text = i18n("decline"), type = DESTRUCTIVE)
-                        DialogButton(onClick = { onResponse(false) }, text = i18n("accept"), type = NEUTRAL)
+                        DialogButton(onClick = { onResponse(true) }, text = i18n("accept"), type = NEUTRAL)
                     } else if (m.canBeOpened) {
                         DialogButton(onClick = onOpenRequestedShareable, text = i18n("open"), type = NEUTRAL)
                     } else {
-- 
GitLab