aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/com/juick/ws/configuration
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2016-06-28 11:34:25 +0300
committerGravatar Vitaly Takmazov2016-06-28 11:34:25 +0300
commita2faab09d3a8604ffe24dd337a3ab099f132e311 (patch)
treecc66a7f629579e62dea8034aecb4065c86adf6a3 /src/main/java/com/juick/ws/configuration
parentf2387bcc06dca0bf3368f32a99a6ec74a7381ccd (diff)
fix xmpp component wiring, take 2
Diffstat (limited to 'src/main/java/com/juick/ws/configuration')
-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 9fd75bb0..46ef8486 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(env.getProperty("xmpp_password"));
+ return new XMPPConnection();
}
@Override
public void registerWebSocketHandlers(WebSocketHandlerRegistry registry) {