From 36d44f006fe24fcec028792edfb139ca474a807a Mon Sep 17 00:00:00 2001 From: ekardnam Date: Sat, 6 Jul 2019 11:46:54 +0200 Subject: [PATCH] Useless line --- src/main/scala/org/congressodeiradicali/karlmarx/BotUser.scala | 2 -- 1 file changed, 2 deletions(-) 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) => {