Bugfix: correctly render vcard of a selected inline query result

This commit is contained in:
Roman Anasal 2018-09-26 01:23:00 +02:00
parent 75d782181e
commit ea72d6c0bd

View file

@ -4620,6 +4620,7 @@ public class SendMessagesHelper implements NotificationCenter.NotificationCenter
user.phone = result.send_message.phone_number; user.phone = result.send_message.phone_number;
user.first_name = result.send_message.first_name; user.first_name = result.send_message.first_name;
user.last_name = result.send_message.last_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); SendMessagesHelper.getInstance(currentAccount).sendMessage(user, dialog_id, reply_to_msg, result.send_message.reply_markup, params);
} }
} }