mattermost / mattermost-mobile

Next generation iOS and Android apps for Mattermost in React Native
https://about.mattermost.com/
Apache License 2.0
2.26k stars 1.37k forks source link

fix bookmarks sort order when WS does not bump update_at #8264

Closed enahum closed 1 month ago

enahum commented 1 month ago

Summary

When sorting the channel bookmarks on the webapp, the WS event was not changing the update_at property of the objects

We are now also updating the local records if the sort_order has changed to fix the sorting updates while the server does not have the changes included in https://github.com/mattermost/mattermost/pull/28807

Ticket Link

https://mattermost.atlassian.net/browse/MM-60644

Server PR

https://github.com/mattermost/mattermost/pull/28807

Release Note

Fixed the sort order of channel bookmarks when sorted on a different client