Изменил обработку CallbackQueryConvert
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
332ba4f0f1
commit
a8d1c7b67c
@ -23,8 +23,8 @@ public class CallbackQueryConvert {
|
||||
mail.setText(callbackData);
|
||||
mail.addAttachment(convertToButtonClick(callbackData, callbackQuery.getMessage().getMessageId()));
|
||||
|
||||
final Long chatId = callbackQuery.getMessage().getChatId();
|
||||
mail.setFromPersonId(chatId != null ? chatId.toString() : null);
|
||||
final Long chatId = callbackQuery.getFrom().getId();
|
||||
mail.setFromPersonId(chatId.toString());
|
||||
|
||||
final User user = callbackQuery.getFrom();
|
||||
mail.setFirstName(user.getFirstName());
|
||||
|
Loading…
Reference in New Issue
Block a user