Player-Sync im Web: nur angenommene eigene Berichte zählen als letzter Stand, sw v60
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
21c314dbd7
commit
262dd0d207
2 changed files with 6 additions and 3 deletions
|
|
@ -1090,9 +1090,12 @@
|
|||
sync.sending--;
|
||||
if (st) {
|
||||
if (done && sync.doneCmd === done) sync.doneCmd = null;
|
||||
// Only a report the server took is our last change (an ignored one isn't).
|
||||
if (st.device_id === DEVICE_ID) {
|
||||
sync.ownAt = st.server_time;
|
||||
store('sync_at', sync.ownAt);
|
||||
}
|
||||
}
|
||||
heard(st);
|
||||
return st;
|
||||
});
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
* diora service worker — caches the app shell for offline use.
|
||||
*/
|
||||
|
||||
const CACHE = 'diora-v59';
|
||||
const CACHE = 'diora-v60';
|
||||
const SHELL = [
|
||||
'/static/css/app.css',
|
||||
'/static/js/app.js',
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue