diff options
-rw-r--r-- | juick-api/build.gradle | 1 | ||||
-rw-r--r-- | juick-api/src/main/java/com/juick/api/controllers/SkypeEndpoint.java | 11 |
2 files changed, 2 insertions, 10 deletions
diff --git a/juick-api/build.gradle b/juick-api/build.gradle index 8b6dd0e6..234ec006 100644 --- a/juick-api/build.gradle +++ b/juick-api/build.gradle @@ -15,7 +15,6 @@ dependencies { compile "org.springframework:spring-webmvc:${rootProject.springFrameworkVersion}" compile 'com.github.pengrad:java-telegram-bot-api:2.3.0' - compile 'org.msbotframework4j:msbotframework4j-builder:0.1.4' compile 'com.neovisionaries:nv-websocket-client:1.30' compile 'net.coobird:thumbnailator:0.4.8' providedRuntime 'mysql:mysql-connector-java:5.1.40' diff --git a/juick-api/src/main/java/com/juick/api/controllers/SkypeEndpoint.java b/juick-api/src/main/java/com/juick/api/controllers/SkypeEndpoint.java index 2a5c6c1e..70f0f760 100644 --- a/juick-api/src/main/java/com/juick/api/controllers/SkypeEndpoint.java +++ b/juick-api/src/main/java/com/juick/api/controllers/SkypeEndpoint.java @@ -1,8 +1,5 @@ package com.juick.api.controllers; -import org.msbotframework4j.builder.bot.AbstractBot; -import org.msbotframework4j.core.model.Message; -import org.msbotframework4j.logging.BotLogger; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.stereotype.Controller; @@ -16,13 +13,9 @@ import java.io.IOException; * Created by vitalyster on 18.07.2016. */ @Controller -public class SkypeEndpoint extends AbstractBot { +public class SkypeEndpoint { private static final Logger logger = LoggerFactory.getLogger(SkypeEndpoint.class); - @Override - protected Message onMessage(Message request, BotLogger logger) { - return null; - } - + @RequestMapping(value = "/skypebotendpoint", method = RequestMethod.POST) public void doPost(@RequestBody String body) throws IOException { logger.info(body); |