Revision 0ba85b0c trunk/Pithos.Core/Agents/Uploader.cs

b/trunk/Pithos.Core/Agents/Uploader.cs
24 24
        [Import]
25 25
        private IStatusKeeper StatusKeeper { get; set; }
26 26

  
27
        
28 27
        public IStatusNotification StatusNotification { get; set; }
29 28

  
30 29
        
......
137 136
                                    //Go on and create the directory
138 137
                                    await client.PutObject(account, cloudFile.Container, cloudFile.Name, fullFileName,
139 138
                                                         String.Empty, "application/directory");
139
                                //If the upload is in response to a Folder create with Selective Sync enabled
140
                                if (action.IsCreation)
141
                                {
142
                                    //Add the folder to the Selected URls
143
                                    var selections = Selectives.SelectiveUris[accountInfo.AccountKey];
144
                                    selections.Add(cloudFile.Uri);
145
                                    Selectives.Save(accountInfo);
146
                                }
140 147
                            }
141 148
                            else
142 149
                            {

Also available in: Unified diff