Revision ebc37b0d trunk/Pithos.Core/PithosMonitor.cs
b/trunk/Pithos.Core/PithosMonitor.cs | ||
---|---|---|
220 | 220 |
StatusKeeper.StartProcessing(_cancellationSource.Token); |
221 | 221 |
IndexLocalFiles(); |
222 | 222 |
//Extract the URIs from the string collection |
223 |
var settings = Settings.Accounts.First(s => s.AccountName == _accountInfo.UserName);
|
|
223 |
var settings = Settings.Accounts.First(s => s.AccountKey == _accountInfo.AccountKey );
|
|
224 | 224 |
var selectiveUrls=settings.SelectiveFolders.Cast<string>().Select(url => new Uri(url)).ToArray(); |
225 | 225 |
|
226 | 226 |
SetSelectivePaths(selectiveUrls,null,null); |
... | ... | |
432 | 432 |
var selectivePaths = UrisToFilePaths(uris); |
433 | 433 |
|
434 | 434 |
FileAgent.SelectivePaths=selectivePaths; |
435 |
PollAgent.SetSyncUris(uris); |
|
435 |
PollAgent.SetSyncUris(_accountInfo.AccountKey,uris);
|
|
436 | 436 |
|
437 | 437 |
var removedPaths = UrisToFilePaths(removed); |
438 | 438 |
UnversionSelectivePaths(removedPaths); |
Also available in: Unified diff