added comment about setting sync mode
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@512 15ad00c4-1369-45f4-8270-35d70d36bdcd
This commit is contained in:
parent
08cf9a33f3
commit
873dc81719
|
@ -744,6 +744,9 @@ void EvolutionSyncClient::initSources(SourceList &sourceList)
|
|||
EvolutionSyncSourceParams params(name,
|
||||
getSyncSourceNodes(name),
|
||||
string("sync4jevolution:") + getSyncURL() + "/" + name);
|
||||
// the sync mode has to be set before instantiating the source
|
||||
// because the client library reads the preferredSyncMode at that time:
|
||||
// have to take a shortcut and set the property via its name
|
||||
if (overrideMode) {
|
||||
params.m_nodes.m_configNode->addFilter("sync", "two-way");
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue