feat: add fromTs param to chat.syncMessages

Merged
SA
2mo ago
+521-31

Proposed changes (including videos or screenshots)

Issue(s)

ARCH-2182

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.syncMessages endpoint.
    • The endpoint supports optional timestamp filtering for targeted synchronization.