Useless line
This commit is contained in:
parent
c1902ff3eb
commit
36d44f006f
1 changed files with 0 additions and 2 deletions
|
@ -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) => {
|
||||
|
|
Loading…
Reference in a new issue