loginqr: remove unused field

This commit is contained in:
Tulir Asokan
2025-12-08 14:22:34 +02:00
parent 08703e9efb
commit 35bf11c158
+3 -4
View File
@@ -31,9 +31,8 @@ import (
)
type qrAuthResult struct {
PasswordNeeded bool
Authorization *tg.AuthAuthorization
Error error
Authorization *tg.AuthAuthorization
Error error
}
type QRLogin struct {
@@ -90,7 +89,7 @@ func (ql *QRLogin) Start(ctx context.Context) (*bridgev2.LoginStep, error) {
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.: