mirror of
https://github.com/octoleo/syncthing.git
synced 2025-01-22 22:58:25 +00:00
e440d30028
This lets us add message types in the future, for authentication or other purposes, without completely breaking old clients. I see this as similar behavior to adding fields to messages - newer clients must simple be aware that older ones may ignore the message and act accordingly. GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3390