From 039df379ccb5a136a96e21306c5ba2af91be57a5 Mon Sep 17 00:00:00 2001 From: Mikunj Date: Tue, 12 Nov 2019 08:33:54 +1100 Subject: [PATCH] Fix minor UI --- .../securesms/conversation/ConversationActivity.java | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/org/thoughtcrime/securesms/conversation/ConversationActivity.java b/src/org/thoughtcrime/securesms/conversation/ConversationActivity.java index c682afcb62..785d086582 100644 --- a/src/org/thoughtcrime/securesms/conversation/ConversationActivity.java +++ b/src/org/thoughtcrime/securesms/conversation/ConversationActivity.java @@ -2213,10 +2213,12 @@ public class ConversationActivity extends PassphraseRequiredActionBarActivity setInputPanelEnabled(!isPending); // This promise correctly updates the UI for multidevice - MultiDeviceUtilities.shouldEnableUserInput(this, recipient).success(shouldEnableInput -> { - setInputPanelEnabled(shouldEnableInput); - return Unit.INSTANCE; - }); + if (friendRequestStatus != LokiThreadFriendRequestStatus.FRIENDS) { + MultiDeviceUtilities.shouldEnableUserInput(this, recipient).success(shouldEnableInput -> { + setInputPanelEnabled(shouldEnableInput); + return Unit.INSTANCE; + }); + } } private void setInputPanelEnabled(boolean enabled) {