mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-04 01:20:12 +00:00
Treat NotFound error as expired in Sign in with QR/Link new device
This commit is contained in:
committed by
Stefan Ceriu
parent
4b4b060bff
commit
2dfda98913
@@ -195,7 +195,9 @@ private extension QRCodeLoginError {
|
||||
.connectionInsecure
|
||||
case .UnsupportedProtocol:
|
||||
.linkingNotSupported
|
||||
case .Unknown, .NotFound, .MissingSecretsBackup, .DeviceIdAlreadyInUse, .UnableToCreateDevice:
|
||||
case .NotFound: // The most likely cause of a .NotFound is that the rendezvous session expired on the server side
|
||||
.expired
|
||||
case .Unknown, .MissingSecretsBackup, .DeviceIdAlreadyInUse, .UnableToCreateDevice:
|
||||
.unknown
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user