Fix using *args on phone migrate

This commit is contained in:
Lonami Exo 2018-05-13 17:15:25 +02:00
parent 32b7e9e27a
commit c010683685

View File

@ -597,7 +597,7 @@ class TelegramBareClient:
# be on the very first connection (not authorized, not running), # be on the very first connection (not authorized, not running),
# but may be an issue for people who actually travel? # but may be an issue for people who actually travel?
self._reconnect(new_dc=e.new_dc) self._reconnect(new_dc=e.new_dc)
return self._invoke(call_receive, *requests) return self._invoke(call_receive, requests)
except (ServerError, RpcCallFailError) as e: except (ServerError, RpcCallFailError) as e:
# Telegram is having some issues, just retry # Telegram is having some issues, just retry