Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upclarify/document what mainDevice is #201
Open
Comments
|
this is another great idea. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
browser-laptop implements the concept of a main device for sync: https://github.com/brave/browser-laptop/pull/13197/files#diff-23ca389e2bcb77191b5a9c10900eb3a3R559
my understanding is that the main device is the device that, when deleted, sends
DELETE_SYNC_USERto the sync server, thereby deleting the entire sync profile on the server.according to https://github.com/brave/browser-laptop/pull/13197/files#diff-23ca389e2bcb77191b5a9c10900eb3a3R568, the algorithm for determining if a device is a main device is:
the sync server has no understanding of main devices; this is only used on the clients. also note that there can be more than one main device according to the algorithm above.