telegram icon indicating copy to clipboard operation
telegram copied to clipboard

login-qr issue

Open heywoodlh opened this issue 3 years ago • 0 comments

Traceback (most recent call last):
  File "/usr/lib/python3.9/site-packages/mautrix/bridge/commands/handler.py", line 489, in handle
    await self._run_handler(handler, evt)
  File "/usr/lib/python3.9/site-packages/mautrix_telegram/commands/handler.py", line 192, in _run_handler
    return await handler(evt)
  File "/usr/lib/python3.9/site-packages/mautrix/bridge/commands/handler.py", line 338, in __call__
    return await self._handler(evt)
  File "/usr/lib/python3.9/site-packages/mautrix_telegram/commands/telegram/auth.py", line 206, in login_qr
    user = await qr_login.wait()
  File "/usr/lib/python3.9/site-packages/telethon/tl/custom/qrlogin.py", line 91, in wait
    timeout = (self._resp.expires - datetime.datetime.now(tz=datetime.timezone.utc)).total_seconds()
AttributeError: 'LoginTokenMigrateTo' object has no attribute 'expires'

When I issue the login-qr command a QR code is generated but I'm unable to actually login due to the above error.

Any suggestions?

I am running the latest version of Synapse and the latest version of mautrix-telegram with the latest container tags.

heywoodlh avatar Jun 21 '22 01:06 heywoodlh