aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/com/juick/config/XMPPConfig.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/com/juick/config/XMPPConfig.java')
-rw-r--r--src/main/java/com/juick/config/XMPPConfig.java7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/main/java/com/juick/config/XMPPConfig.java b/src/main/java/com/juick/config/XMPPConfig.java
index acf15bfe..2086f237 100644
--- a/src/main/java/com/juick/config/XMPPConfig.java
+++ b/src/main/java/com/juick/config/XMPPConfig.java
@@ -20,10 +20,8 @@ package com.juick.config;
import com.juick.CommandsManager;
import com.juick.XMPPManager;
import com.juick.service.MessagesService;
-import com.juick.service.ChatService;
import com.juick.service.StorageService;
import com.juick.service.UserService;
-import com.juick.www.WebApp;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
import org.springframework.context.annotation.Bean;
@@ -57,14 +55,11 @@ public class XMPPConfig {
@Inject
private UserService userService;
@Inject
- private ChatService chatService;
- @Inject
private Executor applicationTaskExecutor;
@Bean(destroyMethod = "close")
XMPPManager xmppConnection() {
return new XMPPManager(botJid, componentName, componentPort, componentHost, password, vCardImage,
- commandsManager, storageService, messagesService, userService, chatService,
- applicationTaskExecutor);
+ commandsManager, storageService, messagesService, userService, applicationTaskExecutor);
}
}