From f52ed49ffe8be527293a5042605c1e0ef9e77327 Mon Sep 17 00:00:00 2001 From: Maxim Portnyagin Date: Sun, 10 Apr 2022 20:48:35 +0400 Subject: [PATCH] Fix switch_inline_query_current_chat --- .../java/org/telegram/ui/Components/ChatActivityEnterView.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TMessagesProj/src/main/java/org/telegram/ui/Components/ChatActivityEnterView.java b/TMessagesProj/src/main/java/org/telegram/ui/Components/ChatActivityEnterView.java index 356880815..10d990b97 100644 --- a/TMessagesProj/src/main/java/org/telegram/ui/Components/ChatActivityEnterView.java +++ b/TMessagesProj/src/main/java/org/telegram/ui/Components/ChatActivityEnterView.java @@ -6922,7 +6922,7 @@ public class ChatActivityEnterView extends BlurredFrameLayout implements Notific return true; } if (button.same_peer) { - long uid = messageObject.messageOwner.from_id.user_id; + long uid = messageObject.messageOwner.peer_id.user_id; if (messageObject.messageOwner.via_bot_id != 0) { uid = messageObject.messageOwner.via_bot_id; }