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

Opening a Telegram channel displays at least one error message before actually working #412

Closed
ddobrev opened this issue Apr 17, 2021 · 1 comment · Fixed by #422
Closed
Labels
bug Something isn't working

Comments

@ddobrev
Copy link

ddobrev commented Apr 17, 2021

I use Sailfish 4.0.1.48 with the latest Fernschreiber. When I've loaded https://t.me/aurorasupport/ in the Sailfish browser and tap "View in Telegram", I get this error: "Initialization parameters are needed: call setTdlibParameters first". When I go back to the browser and tap again, it works. Although there was one occasion, with another group I cannot remember, when the second time I got a second error about some database and checking encryption. The third time finally worked. None of these issues occur with the desktop Telegram client for macOS only.

@jgibbon
Copy link
Collaborator

jgibbon commented May 25, 2021

This seems to belong to a bunch of related issues: #151, #276, #312, #412 (this comment is copied to all of them)
Proposed way to hopefully fix most of them:

  • use MimeType=x-url-handler (caveat: according to link, update-desktop-database isn't called after installation yet…)
  • implement at least some of the missing url functions (link in T.me link handling #312 – search for LocalUrlHandlers; also look below)
  • on start: scan for existing .desktop file, delete.
  • link handler: save "active link" to some temporary property until tg is authenticated, only then process it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants