Skip to content

Commit

Permalink
Revert "Login UX (bump mtpwrap to v0.1.0)"
Browse files Browse the repository at this point in the history
  • Loading branch information
rusq committed Apr 30, 2024
1 parent 020fbec commit 661b527
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ require (
github.com/looplab/fsm v1.0.1
github.com/rivo/tview v0.0.0-20240426173458-c766eefb3803
github.com/rusq/dlog v1.4.0
github.com/rusq/mtpwrap v0.1.0
github.com/rusq/mtpwrap v0.0.5
github.com/rusq/osenv/v2 v2.0.1
github.com/rusq/tracer v1.0.1
github.com/schollz/progressbar/v3 v3.14.2
Expand Down
2 changes: 0 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,6 @@ github.com/rusq/encio v0.1.0 h1:DauNaVtIf79kILExhMGIsE5svYwPnDSksdYP0oVVcr8=
github.com/rusq/encio v0.1.0/go.mod h1:AP3lDpo/BkcHcOMNduBlZdd0sbwhruq6+NZtYm5Mxb0=
github.com/rusq/mtpwrap v0.0.5 h1:P60fPqSBPGvr26uXbQr2TZhSTOy7N4YzWP9F/YMRfFY=
github.com/rusq/mtpwrap v0.0.5/go.mod h1:e6ZOqg+nzmksTnufSmMA6nlVubphz2hx/3QSGGY5W+s=
github.com/rusq/mtpwrap v0.1.0 h1:7EY/QFi6pAWN1Pa/Vl2UssGUEs2FhpthA6lUNlhPA4A=
github.com/rusq/mtpwrap v0.1.0/go.mod h1:GwUNQiHNKBdpCOqtRx5BXg4LejPSS0lLB3IqCRuiM/I=
github.com/rusq/osenv/v2 v2.0.1 h1:1LtNt8VNV/W86wb38Hyu5W3Rwqt/F1JNRGE+8GRu09o=
github.com/rusq/osenv/v2 v2.0.1/go.mod h1:+wJBSisjNZpfoD961JzqjaM+PtaqSusO3b4oVJi7TFY=
github.com/rusq/secure v0.0.4 h1:svpiZHfHnx89eEDCCFI9OXG1Y8hL9kUWUG6fJbrWUOI=
Expand Down
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ func run(ctx context.Context, p Params) error {
SessionStorage: &sessStorage,
}

cl, err := mtp.New(ctx, p.ApiID, p.ApiHash,
cl, err := mtp.New(p.ApiID, p.ApiHash,
mtp.WithAuth(authflow.NewTermAuth(p.Phone)),
mtp.WithApiCredsFile(apiCredsFile),
mtp.WithMTPOptions(opts),
Expand Down

0 comments on commit 661b527

Please sign in to comment.