mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-19 08:03:50 +02:00
Remove extra step as no longer required
This commit is contained in:
committed by
Stefan Ceriu
parent
e826762f45
commit
114a0f68a4
+1
-6
@@ -195,12 +195,7 @@ class QRLoginService: NSObject, QRLoginServiceProtocol {
|
||||
|
||||
state = .waitingForConfirmation(validationCode)
|
||||
|
||||
MXLog.debug("[QRLoginService] Requesting login")
|
||||
guard let requestData = try? JSONEncoder().encode(QRLoginRendezvousPayload(type: .loginStart, intent: .loginStart)),
|
||||
case .success = await rendezvousService.send(data: requestData) else {
|
||||
await teardownRendezvous(state: .failed(error: .rendezvousFailed))
|
||||
return
|
||||
}
|
||||
// TODO: check compatibility of intents
|
||||
|
||||
MXLog.debug("[QRLoginService] Waiting for available protocols")
|
||||
guard case let .success(data) = await rendezvousService.receive(),
|
||||
|
||||
Reference in New Issue
Block a user