diff options
author | Vitaly Takmazov | 2016-12-02 23:38:49 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2016-12-02 23:38:49 +0300 |
commit | 33ebfffd00f2088bae131b3e1a4f5eb583a08b13 (patch) | |
tree | 9e2999cd67f9f5be46d289faad0654328ec3a041 /juick-api/src/main/java/com/juick | |
parent | 677471013442bcb5455d4c827d7a13a17392fc8f (diff) |
drop msbotframework4j dependency as it is outdated
Diffstat (limited to 'juick-api/src/main/java/com/juick')
-rw-r--r-- | juick-api/src/main/java/com/juick/api/controllers/SkypeEndpoint.java | 11 |
1 files changed, 2 insertions, 9 deletions
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); |