aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/com/juick/ws/configuration/WebsocketConfiguration.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/com/juick/ws/configuration/WebsocketConfiguration.java')
-rw-r--r--src/main/java/com/juick/ws/configuration/WebsocketConfiguration.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/juick/ws/configuration/WebsocketConfiguration.java b/src/main/java/com/juick/ws/configuration/WebsocketConfiguration.java
index a298d0a0..9fd75bb0 100644
--- a/src/main/java/com/juick/ws/configuration/WebsocketConfiguration.java
+++ b/src/main/java/com/juick/ws/configuration/WebsocketConfiguration.java
@@ -43,7 +43,7 @@ public class WebsocketConfiguration extends WebMvcConfigurerAdapter implements W
}
@Bean
XMPPConnection xmpp() {
- return new XMPPConnection(jdbc(), env.getProperty("xmpp_password"));
+ return new XMPPConnection(env.getProperty("xmpp_password"));
}
@Override
public void registerWebSocketHandlers(WebSocketHandlerRegistry registry) {