loginqr: remove unused field

This commit is contained in:
Tulir Asokan
2025-12-08 14:22:34 +02:00
parent 08703e9efb
commit 35bf11c158
+1 -2
View File
@@ -31,7 +31,6 @@ import (
) )
type qrAuthResult struct { type qrAuthResult struct {
PasswordNeeded bool
Authorization *tg.AuthAuthorization Authorization *tg.AuthAuthorization
Error error Error error
} }
@@ -90,7 +89,7 @@ func (ql *QRLogin) Start(ctx context.Context) (*bridgev2.LoginStep, error) {
return nil return nil
}) })
ql.auth <- qrAuthResult{false, auth, err} ql.auth <- qrAuthResult{auth, err}
}() }()
// Wait for the first QR token and show it to the user.: // Wait for the first QR token and show it to the user.: