Merged
Conversation
现象:隔一段时间后 Web 端发送消息提示“会话不存在”,重连后发送的用户消息在界面上可能被覆盖看似丢失。 原因:会话失效后缺少自动恢复闭环,且重连时历史全量重绘会覆盖本地待发消息显示。 解决后结果:会话不存在时自动重连恢复并按需回退默认会话,重连期间发送的消息可保留并正常发送,相关提示统一接入 i18n。
2221186349
pushed a commit
that referenced
this pull request
Mar 1, 2026
Collaborator
|
感谢 @youyli03 的贡献 🎉 会话恢复闭环 + 重连消息保护处理得很扎实,i18n 规范化也是加分项。已合并并发布 v1.6.1,辛苦了! |
Merged
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
现象:隔一段时间后 Web 端发送消息提示“会话不存在”,重连后发送的用户消息在界面上可能被覆盖看似丢失。
原因:会话失效后缺少自动恢复闭环,且重连时历史全量重绘会覆盖本地待发消息显示。
解决后结果:会话不存在时自动重连恢复并按需回退默认会话,重连期间发送的消息可保留并正常发送,相关提示统一接入 i18n。