tweb
tweb copied to clipboard
[BUG] Drafts synchronisation issue (web + desktop app)
Describe the bug If I have an active web session open, and the telegram desktop app (Windows in my case). The web application holds onto the draft but doesn't know when the draft has been disposed of, so the desktop chat input keeps getting overwritten by the draft that the web application currently has.
To Reproduce Steps to reproduce the behavior:
- Open telegram desktop, go to a channel or chat.
- Open telegram web, go to the same channel or chat.
- In the desktop, start to type, so a draft is committed.
- In the desktop clear the draft, or send it to the chat.
- In a few seconds, the chat input in the desktop will have the draft appear (due to the web application having the original draft still).
Expected behavior The web application should react to the draft clear message, but I'm just assuming that exists.
Desktop (please complete the following information):
- OS: Windows
- Browser Firefox
- Version 111.0.1
Additional context Telegram Desktop v4.7.1