Closed Bug 1760852 Opened 4 years ago Closed 4 years ago

Pending messages block sending messages after restarts

Categories

(Chat Core :: Matrix, defect)

Desktop
All
defect

Tracking

(thunderbird_esr91 wontfix)

RESOLVED FIXED
100 Branch
Tracking Status
thunderbird_esr91 --- wontfix

People

(Reporter: freaktechnik, Assigned: freaktechnik)

Details

Attachments

(1 file)

Currently if sending a message failed and you closed Thunderbird, afterwards sending every message in the conversation will fail on first try. This is because our "Session Storage" is actually persistent between sessions.

This was likely triggered when we first changed pending event ordering, and is now much more apparent with the pending message error handling.

prpl-matrix.matrix: Setting event as NOT_SENT due to messages in the same state
prpl-matrix: Error: Cannot set read receipt to a pending event (~!TggitnMFBVFKYpeLty:humanoids.be:m1647965905285.2)
prpl-matrix: Failed to send emote to !TggitnMFBVFKYpeLty:humanoids.be: Event blocked by other events not yet sent

Pushed by geoff@darktrojan.net:
https://hg.mozilla.org/comm-central/rev/afa95447531e
Fix Matrix pending messages being persisted across sessions. r=clokep

Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 100 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: