Telethon/telethon
Dmitry D. Chernov fb9813ae61 TelegramClient.send_code_request(): Change logic of methods invocation
Before:
  First call, force_sms=False: SendCodeRequest
  Next call, force_sms=False: SendCodeRequest
  First call, force_sms=True: raise ValueError
  Next call, force_sms=True: ResendCodeRequest

That's inconvenient because the user must remember whether the code requested at all and whether the request was successful.
In addition, the repeated invocation of SendCodeRequest does nothing.

This commit changes logic to this:
  First call, force_sms=False: SendCodeRequest
  Next call, force_sms=False: ResendCodeRequest
  First call, force_sms=True: SendCodeRequest, ResendCodeRequest
  Next call, force_sms=True: ResendCodeRequest
2017-12-24 21:25:17 +10:00
..
crypto Document the crypto/ module 2017-11-26 16:57:40 +01:00
errors Document the errors/ module 2017-11-26 17:06:09 +01:00
extensions TcpClient: Catch ConnectionError instead of its particular cases 2017-12-23 05:45:23 +10:00
network Move tgread_object() outside specific msg processing calls 2017-12-20 17:45:40 +01:00
tl Remove unused request_msg_id from the TLObject class 2017-12-20 17:48:41 +01:00
__init__.py Use NullHandler as default for the library 2017-11-13 10:59:43 +01:00
helpers.py Use autogen code on the authenticator instead hardcoding requests 2017-09-28 11:36:51 +02:00
telegram_bare_client.py Make a proper use of the logging module 2017-12-20 12:47:39 +01:00
telegram_client.py TelegramClient.send_code_request(): Change logic of methods invocation 2017-12-24 21:25:17 +10:00
update_state.py Make a proper use of the logging module 2017-12-20 12:47:39 +01:00
utils.py Add missing ChannelFull case to .get_peer_id() 2017-11-12 18:15:32 +01:00
version.py Update to v0.15.5 2017-11-16 19:18:26 +01:00