Repository navigation
Commit d848130
committed
fix(google): keep a retried response's unread state matching the first pass
The retry omitted `unread` entirely, so a response folded late defaulted to
unread — including an acceptance, which the first pass deliberately leaves
read, and including responses first seen during the initial backfill, where
nothing should be marked unread at all. A late fold was therefore noisier
than a timely one.
Carry the originating pass's `initialSync` on the pending entry and run the
same `shouldMarkUnread` rule on retry.1 parent 0759246 commit d848130
2 files changed
Lines changed: 54 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1223 | 1223 | | |
1224 | 1224 | | |
1225 | 1225 | | |
| 1226 | + | |
| 1227 | + | |
| 1228 | + | |
| 1229 | + | |
| 1230 | + | |
| 1231 | + | |
| 1232 | + | |
| 1233 | + | |
| 1234 | + | |
| 1235 | + | |
| 1236 | + | |
| 1237 | + | |
| 1238 | + | |
| 1239 | + | |
| 1240 | + | |
| 1241 | + | |
| 1242 | + | |
| 1243 | + | |
| 1244 | + | |
| 1245 | + | |
| 1246 | + | |
| 1247 | + | |
| 1248 | + | |
| 1249 | + | |
| 1250 | + | |
| 1251 | + | |
| 1252 | + | |
| 1253 | + | |
| 1254 | + | |
| 1255 | + | |
| 1256 | + | |
| 1257 | + | |
| 1258 | + | |
| 1259 | + | |
| 1260 | + | |
| 1261 | + | |
| 1262 | + | |
| 1263 | + | |
| 1264 | + | |
| 1265 | + | |
| 1266 | + | |
| 1267 | + | |
| 1268 | + | |
| 1269 | + | |
1226 | 1270 | | |
1227 | 1271 | | |
1228 | 1272 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1518 | 1518 | | |
1519 | 1519 | | |
1520 | 1520 | | |
| 1521 | + | |
| 1522 | + | |
| 1523 | + | |
| 1524 | + | |
| 1525 | + | |
| 1526 | + | |
1521 | 1527 | | |
1522 | 1528 | | |
1523 | 1529 | | |
| |||
1577 | 1583 | | |
1578 | 1584 | | |
1579 | 1585 | | |
| 1586 | + | |
| 1587 | + | |
| 1588 | + | |
1580 | 1589 | | |
1581 | 1590 | | |
1582 | 1591 | | |
| |||
1695 | 1704 | | |
1696 | 1705 | | |
1697 | 1706 | | |
| 1707 | + | |
1698 | 1708 | | |
1699 | 1709 | | |
1700 | 1710 | | |
| |||
0 commit comments