Useless line

This commit is contained in:
ekardnam 2019-07-06 11:46:54 +02:00
parent c1902ff3eb
commit 36d44f006f

View file

@ -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) => {