Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(tdesktop): support key_datas #825

Open
ernado opened this issue Jul 26, 2022 · 1 comment
Open

feat(tdesktop): support key_datas #825

ernado opened this issue Jul 26, 2022 · 1 comment
Labels
area: client telegram package issues enhancement New feature or request

Comments

@ernado
Copy link
Member

ernado commented Jul 26, 2022

There can be no key_data in latest tdesktop format

cc: @tdakkota

@ernado ernado added enhancement New feature or request area: client telegram package issues labels Jul 26, 2022
@ernado
Copy link
Member Author

ernado commented Jul 26, 2022

So while trying to load tdata:

Error: failed to read accounts:
    main.run
        /src/main.go:70
  - open key_data:
    github.com/gotd/td/session/tdesktop.ReadFS
        /go/pkg/mod/github.com/gotd/td@v0.62.0/session/tdesktop/tdesktop.go:36
  - file "key_data" not found:
    github.com/gotd/td/session/tdesktop.open
        /go/pkg/mod/github.com/gotd/td@v0.62.0/session/tdesktop/file.go:60

File tree:

tdata/
├── D877F783D5D3EF8C
│   └── maps
├── D877F783D5D3EF8Cs
└── key_datas

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: client telegram package issues enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant