mirror of
https://github.com/iyear/tdl
synced 2025-01-07 03:16:41 +08:00
fix(tgc): first login
This commit is contained in:
parent
45293a9da5
commit
7ae63d7028
@ -36,7 +36,7 @@ func New(login bool, middlewares ...telegram.Middleware) (*telegram.Client, *kv.
|
||||
|
||||
mode, err := kvd.Get(key.App())
|
||||
if err != nil {
|
||||
return nil, nil, err
|
||||
mode = []byte(consts.AppBuiltin)
|
||||
}
|
||||
app, ok := consts.Apps[string(mode)]
|
||||
if !ok {
|
||||
|
Loading…
Reference in New Issue
Block a user