use sc-pim- prefix for device ID
The prefix is important: without it, myFUNAMBOL 6.x and 7.0 map all SyncEvolution instances to the single phone that they support, which leads to unwanted slow syncs when switching between multiple instances. git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@666 15ad00c4-1369-45f4-8270-35d70d36bdcd
This commit is contained in:
parent
f32501af5f
commit
bd92e16cdc
1 changed files with 5 additions and 1 deletions
|
@ -130,7 +130,11 @@ boost::shared_ptr<EvolutionSyncConfig> EvolutionSyncConfig::createServerTemplate
|
|||
boost::shared_ptr<PersistentEvolutionSyncSourceConfig> source;
|
||||
|
||||
config->setDefaults();
|
||||
config->setDevID(string("uuid-") + UUID());
|
||||
// The prefix is important: without it, myFUNAMBOL 6.x and 7.0 map
|
||||
// all SyncEvolution instances to the single phone that they support,
|
||||
// which leads to unwanted slow syncs when switching between multiple
|
||||
// instances.
|
||||
config->setDevID(string("sc-pim-") + UUID());
|
||||
config->setSourceDefaults("addressbook");
|
||||
config->setSourceDefaults("calendar");
|
||||
config->setSourceDefaults("todo");
|
||||
|
|
Loading…
Reference in a new issue