Commit ea3eb0b
committed
fix(watch): meta version detection
Originally the handshake protocol-version check used && instead of || which would only reject when
both major and minor version were different, so a 3.0 meta would work with a 2.0 watch.
The fix just stops checking the minor version in the handshake so the minor version can be bumped to
indicate new fields were added to the end of messages, without breaking compatibility with older
Watch versions that should just ignore those fields.1 parent 0cc52a7 commit ea3eb0b
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
301 | 301 | | |
302 | 302 | | |
303 | 303 | | |
304 | | - | |
| 304 | + | |
305 | 305 | | |
306 | 306 | | |
307 | 307 | | |
| |||
0 commit comments