From ea72d6c0bd3b7f9f3e45e3d532c0cab24a9e0bcb Mon Sep 17 00:00:00 2001 From: Roman Anasal Date: Wed, 26 Sep 2018 01:23:00 +0200 Subject: [PATCH] Bugfix: correctly render vcard of a selected inline query result --- .../src/main/java/org/telegram/messenger/SendMessagesHelper.java | 1 + 1 file changed, 1 insertion(+) diff --git a/TMessagesProj/src/main/java/org/telegram/messenger/SendMessagesHelper.java b/TMessagesProj/src/main/java/org/telegram/messenger/SendMessagesHelper.java index 2d9d3bfe8..de070b0c1 100644 --- a/TMessagesProj/src/main/java/org/telegram/messenger/SendMessagesHelper.java +++ b/TMessagesProj/src/main/java/org/telegram/messenger/SendMessagesHelper.java @@ -4620,6 +4620,7 @@ public class SendMessagesHelper implements NotificationCenter.NotificationCenter user.phone = result.send_message.phone_number; user.first_name = result.send_message.first_name; user.last_name = result.send_message.last_name; + user.restriction_reason = result.send_message.vcard; SendMessagesHelper.getInstance(currentAccount).sendMessage(user, dialog_id, reply_to_msg, result.send_message.reply_markup, params); } }