Добавил обработку replayMail
Some checks reported errors
continuous-integration/drone/push Build was killed

This commit is contained in:
Struchkov Mark 2023-11-27 21:34:28 +03:00
parent 72bbd768f8
commit 8d0f174127
Signed by: upagge
GPG Key ID: D3018BE7BA428CA6
2 changed files with 2 additions and 2 deletions

View File

@ -38,7 +38,7 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<godfather.core.ver>1.1.0</godfather.core.ver>
<godfather.core.ver>1.2.0-SNAPSHOT</godfather.core.ver>
<!-- https://mvnrepository.com/artifact/org.telegram/telegrambots -->
<telegrambots.ver>6.8.0</telegrambots.ver>

View File

@ -83,7 +83,7 @@ public final class MessageMailConvert {
}
if (message.getReplyToMessage() != null) {
mail.setForwardMail(Collections.singletonList(apply(message.getReplyToMessage())));
mail.setReplayMail(apply(message.getReplyToMessage()));
}
return mail;