Skip to content

Conversation

@PVince81
Copy link
Member

Only display a warning when leaving the page completely, which would
abort pending sending operations.

Switching between conversations will keep sending in the background so
no warning is needed.

Fixes: #5842

Test:

  • switching conversations with pending messages does not show warning
  • switching apps with pending messages shows a browser warning

Only display a warning when leaving the page completely, which would
abort pending sending operations.

Switching between conversations will keep sending in the background so
no warning is needed.

Signed-off-by: Vincent Petry <[email protected]>
@nickvergessen nickvergessen merged commit 4974b3d into master Jun 23, 2021
@nickvergessen nickvergessen deleted the bugfix/5842/fix-unload-warning-pending-messages branch June 23, 2021 08:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Wrong message when navigating away while sending a chat message

3 participants