Merge pull request #1482 from acran/master

Bugfix: correctly render vcard of a selected inline query result
This commit is contained in:
DrKLO 2018-11-07 19:49:44 +03:00 committed by GitHub
commit e222fded6c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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);
} }
} }