mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-03 21:16:35 +00:00
no message
This commit is contained in:
parent
ead9a21e57
commit
cc3934f637
@ -58,7 +58,7 @@ extension SecureIdPersonalDetailsValue {
|
||||
dict["last_name"] = self.latinName.lastName
|
||||
if let nativeName = self.nativeName {
|
||||
dict["first_name_native"] = nativeName.firstName
|
||||
if !self.latinName.middleName.isEmpty {
|
||||
if !nativeName.middleName.isEmpty {
|
||||
dict["middle_name_native"] = nativeName.middleName
|
||||
}
|
||||
dict["last_name_native"] = nativeName.lastName
|
||||
|
||||
@ -136,11 +136,11 @@ func parseSecureIdValueContentErrors(dataHash: Data?, fileHashes: Set<Data>, sel
|
||||
if selfieHash == fileHash.makeData() {
|
||||
result[.selfie(hash: fileHash.makeData())] = text
|
||||
}
|
||||
case .secureValueErrorFrontSide(let type, let fileHash, let text):
|
||||
case let .secureValueErrorFrontSide(_, fileHash, text):
|
||||
if frontSideHash == fileHash.makeData() {
|
||||
result[.frontSide(hash: fileHash.makeData())] = text
|
||||
}
|
||||
case .secureValueErrorReverseSide(let type, let fileHash, let text):
|
||||
case let .secureValueErrorReverseSide(_, fileHash, text):
|
||||
if backSideHash == fileHash.makeData() {
|
||||
result[.backSide(hash: fileHash.makeData())] = text
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user