Поправил стартер
This commit is contained in:
4
pom.xml
4
pom.xml
@@ -19,8 +19,8 @@
|
|||||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||||
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
||||||
|
|
||||||
<telegram.bot.version>0.0.54-SNAPSHOT</telegram.bot.version>
|
<godfather.version>0.0.55</godfather.version>
|
||||||
<godfather.version>0.0.55-SNAPSHOT</godfather.version>
|
<telegram.bot.version>0.0.54</telegram.bot.version>
|
||||||
|
|
||||||
<!-- https://mvnrepository.com/artifact/org.apache.maven.plugins/maven-compiler-plugin -->
|
<!-- https://mvnrepository.com/artifact/org.apache.maven.plugins/maven-compiler-plugin -->
|
||||||
<plugin.maven.compiler.ver>3.10.1</plugin.maven.compiler.ver>
|
<plugin.maven.compiler.ver>3.10.1</plugin.maven.compiler.ver>
|
||||||
|
|||||||
@@ -214,6 +214,7 @@ public class TelegramBotAutoconfiguration {
|
|||||||
|
|
||||||
@Bean
|
@Bean
|
||||||
@ConditionalOnBean(EventDispatching.class)
|
@ConditionalOnBean(EventDispatching.class)
|
||||||
|
@ConditionalOnMissingBean(EventDistributor.class)
|
||||||
public EventDistributor eventDistributor(
|
public EventDistributor eventDistributor(
|
||||||
TelegramConnect telegramConnect, EventDispatching eventDispatching
|
TelegramConnect telegramConnect, EventDispatching eventDispatching
|
||||||
) {
|
) {
|
||||||
|
|||||||
Reference in New Issue
Block a user