From ba47fd3cbd2f9bf10abab6842db3673331f2ea76 Mon Sep 17 00:00:00 2001 From: Stanislav Date: Fri, 7 Oct 2022 17:57:46 +0300 Subject: [PATCH] (Fix) simple hot fix. Problem with keyType unknown. Ignore this situation. --- src/td/account.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/td/account.py b/src/td/account.py index 92966ff..ca1d443 100644 --- a/src/td/account.py +++ b/src/td/account.py @@ -211,9 +211,7 @@ def read(self, localKey: td.AuthKey, legacyPasscode: QByteArray) -> None: archivedMasksKey = map.stream.readUInt64() else: - raise TDataReadMapDataFailed( - f"Unknown key type in encrypted map: {keyType}" - ) + logging.warning(f"Unknown key type in encrypted map: {keyType}") ExpectStreamStatus(map.stream, "Could not stream data from mapData ")