feat: add fromTs param to chat.syncMessages
Merged
SA
2mo ago+521+521+012345678901234567890123456789-31-31-01234567890123456789
Proposed changes (including videos or screenshots)
Issue(s)
Steps to test or reproduce
Further comments
Summary by CodeRabbit
-
Bug Fixes
- Improved message synchronization after reconnection by reconciling updated and deleted messages within the currently loaded time range.
- Prevented hidden and temporary messages from being incorrectly synchronized.
- Preserved valid thread references when messages are updated or deleted.
- Added optional timestamp filtering for more accurate message history updates.
-
Deprecation
- The legacy missed-message loading method is deprecated in favor of the
chat.syncMessagesendpoint. - The endpoint supports optional timestamp filtering for targeted synchronization.
- The legacy missed-message loading method is deprecated in favor of the