diff --git a/src/main/scala/org/congressodeiradicali/karlmarx/BotUser.scala b/src/main/scala/org/congressodeiradicali/karlmarx/BotUser.scala index 3c42428..e1c6894 100644 --- a/src/main/scala/org/congressodeiradicali/karlmarx/BotUser.scala +++ b/src/main/scala/org/congressodeiradicali/karlmarx/BotUser.scala @@ -40,8 +40,6 @@ class BotUser(private val user: User, private val chat: Chat, private val bot: B var chatMember: ChatMember = null def init() : Future[Try[Unit]] = Future { - implicit val ec: ExecutionContext = ExecutionContext.global - blocking { Await.ready(bot.request(GetChatMember(ChatId.fromChat(chat.id), user.id)), Duration.Inf).value.get match { case Success(cm) => {