Skip to content

Commit

Permalink
Merge pull request #74 from staseek/issue-69-fix Hot fix for unknown …
Browse files Browse the repository at this point in the history
…key type in the map data

(Fix) simple hot fix. Problem with keyType unknown. Ignore this situation
  • Loading branch information
thedemons authored Oct 8, 2022
2 parents dee72ba + ba47fd3 commit 5568f74
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 5568f74

Please sign in to comment.