Skip to content

Commit

Permalink
(Fix) simple hot fix. Problem with keyType unknown. Ignore this situa…
Browse files Browse the repository at this point in the history
…tion.
  • Loading branch information
staseek committed Oct 7, 2022
1 parent dee72ba commit ba47fd3
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/td/account.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 ")

Expand Down

0 comments on commit ba47fd3

Please sign in to comment.