morethanwords / tweb

Telegram Web K, GPL v3
https://web.telegram.org/k/
GNU General Public License v3.0
1.86k stars 595 forks source link

[BUG] Message dismisses when the message is too long without warning #86

Open MTaghaddomi opened 2 years ago

MTaghaddomi commented 2 years ago

Describe the bug If edit the message with more than 4096 chars (limit size), it does not update and changes are lost.

To Reproduce Steps to reproduce the behavior:

  1. Go to 'the chat'
  2. Click on 'edit message'
  3. Edit message with long text (more than 4096 chars)
  4. Submit changes
  5. Changes are lost!

Expected behavior Show extra chars size and prevent submitting changes if text is too long.

Desktop (please complete the following information):

Extra information: How Android app handles this: image

ArathonV commented 3 months ago

Can reproduce, found this very annoying since data is lost.