Sync and Initial sync problems
With the inclusion of the since always in the sync in the backend we've some issues that we need to solve. The workflow has changed so we need to test all corner cases and refactor the code to fix those problems.
Tests to make:
-
New messages comes -
New room, you join to a new room and the room should appear in your list -
Delete room, leave a room and see the action -
Initial sync after several days, with an old since
in the cache. The message history should be consistent -
Load more shows the corresponding messages -
Load more shows the corresponding messages if we've an old cache (two days?)
Feel free to edit this issue description and add more test to make.