diff --git a/TMessagesProj/src/main/java/org/telegram/ui/ChatActivity.java b/TMessagesProj/src/main/java/org/telegram/ui/ChatActivity.java index ab202e866..934ea58eb 100644 --- a/TMessagesProj/src/main/java/org/telegram/ui/ChatActivity.java +++ b/TMessagesProj/src/main/java/org/telegram/ui/ChatActivity.java @@ -19523,7 +19523,7 @@ public class ChatActivity extends BaseFragment implements NotificationCenter.Not } if (shareKeyItem != null) { - if (currentChat != null && ChatObject.canSendMessages(currentChat) && StrUtil.isNotBlank(NekomuraConfig.openPGPApp.String())) { + if ((currentChat != null && ChatObject.canSendMessages(currentChat) || user != null && !user.self) && StrUtil.isNotBlank(NekomuraConfig.openPGPApp.String())) { shareKeyItem.setVisibility(View.VISIBLE); } else { shareKeyItem.setVisibility(View.GONE);