This repository has been archived by the owner on Feb 12, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(history): move stuck pending message into broken_messages table
Fix #5776 Due to a long standing bug, faux offline message have been able to become stuck going back years. Because of recent fixes to history loading, faux offline messages will correctly all be sent on connection, but this causes an issue of long stuck messages suddenly being delivered to a friend, out of context, creating a confusing interaction. To work around this, this upgrade moves any faux offline messages in a chat that are older than the last successfully delivered message, indicating they were stuck, to a new table, `broken_messages`, preventing them from ever being sent in the future.
- Loading branch information
1 parent
f72f3f7
commit b28dc30
Showing
2 changed files
with
174 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters