linagora / Twake

Twake is a secure open source collaboration platform to improve organizational productivity.
https://twake.app
GNU Affero General Public License v3.0
1.79k stars 195 forks source link

Can't resend message after internet connection is restored #2513

Open hantt12 opened 2 years ago

hantt12 commented 2 years ago

Steps:

  1. Login Twake web
  2. Open a channel/direct message
  3. Disconnect computer from internet
  4. Send a message => Message is shown as not sent with Retry/Remove button
  5. Re-connect computer to network
  6. Click Retry

Expected behavior: Message is sent, correct icon is shown Retry/Remove buttons are no longer shown

Actual behavior: Message is shown twice (1 as discussion and 1 as reply). Sent icon is not shown In the reply message, Not Sent icon is shown. Retry/Remove buttons are shown If I refresh the page, the message is no longer shown => message is not sent at all and lost image.png