From bd92e16cdcc0bd19591f7e54d54ca962de32118a Mon Sep 17 00:00:00 2001 From: Patrick Ohly Date: Fri, 11 Jul 2008 20:28:00 +0000 Subject: [PATCH] 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 --- src/SyncEvolutionConfig.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/SyncEvolutionConfig.cpp b/src/SyncEvolutionConfig.cpp index 95edc6eb..88568d8a 100644 --- a/src/SyncEvolutionConfig.cpp +++ b/src/SyncEvolutionConfig.cpp @@ -130,7 +130,11 @@ boost::shared_ptr EvolutionSyncConfig::createServerTemplate boost::shared_ptr 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");