mirror of
https://github.com/DrKLO/Telegram.git
synced 2024-12-22 06:25:14 +01:00
Bugfix: correctly render vcard of a selected inline query result
This commit is contained in:
parent
75d782181e
commit
ea72d6c0bd
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue