{"push_id":2893256773,"size":2,"distinct_size":2,"ref":"refs/heads/flags-store","head":"37e26b1494f23a29706a19d737e49724093a2435","before":"1943c4b72a0520ed529dd7de4cb2cd2f45d0adde","commits":[{"sha":"5bb2d9ba7be141f178a2df09f0698cc4fdd0faec","author":{"name":"Boris Yankov","email":"1fc8c31f144cfb4b993a76e874a19b43338c69c4@gmail.com"},"message":"Do not discard but store `flags` data\n\nImproves but does not completely resolve #2940\n\nOn app's start there is a potential (very likely) mismatch between\nthe stored messages and the flags associated with them (read, starred)\n\nThe first issue is that we do not update the messages themselves\nbut we do update the flags state. But we do not preserve the state!\n\nThe second issue is that the flags might have changed since the last\nrun, again very likely, especially for the `read` flag if the user\nhave used the web app.\n\nThis commit resolves the first issue. The second one requires more\nwork, mostly the code implementing short/long-lived queues.","distinct":true,"url":"https://api.github.com/repos/borisyankov/zulip-mobile/commits/5bb2d9ba7be141f178a2df09f0698cc4fdd0faec"},{"sha":"37e26b1494f23a29706a19d737e49724093a2435","author":{"name":"Boris Yankov","email":"1fc8c31f144cfb4b993a76e874a19b43338c69c4@gmail.com"},"message":"state: Do not rehydrate 'flags' state\n\nPrevious commit makes sure we store the `flags` state.\n\nThis is better than trying to restore flags from `messages` as we\ndo not mutate this data. So any state that was changed during the\nprevious run of the app would not get restored properly.\n\nThe simpler solution of storing the `flags` is far superior to this\napproach while not being a complete solution.","distinct":true,"url":"https://api.github.com/repos/borisyankov/zulip-mobile/commits/37e26b1494f23a29706a19d737e49724093a2435"}]}
{"actor":{"display_login":"borisyankov"}}