Fix switch_inline_query_current_chat

This commit is contained in:
Maxim Portnyagin 2022-04-10 20:48:35 +04:00
parent 0abe4541dd
commit f52ed49ffe
No known key found for this signature in database
GPG key ID: 8F27C63672B69287

View file

@ -6922,7 +6922,7 @@ public class ChatActivityEnterView extends BlurredFrameLayout implements Notific
return true; return true;
} }
if (button.same_peer) { 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) { if (messageObject.messageOwner.via_bot_id != 0) {
uid = messageObject.messageOwner.via_bot_id; uid = messageObject.messageOwner.via_bot_id;
} }