Changed MonitorAccount to call StartMonitor which handles reauthentication
[pithos-ms-client] / trunk / Pithos.Client.WPF / Shell / ShellViewModel.cs
index 3a1f7ba..da7cf3c 100644 (file)
@@ -171,8 +171,8 @@ namespace Pithos.Client.WPF {
                     //If the account is active
                     if (account.IsActive)
                         //Start the monitor. It's OK to start an already started monitor,
-                        //it will just ignore the call
-                        monitor.Start();
+                        //it will just ignore the call                        
+                        StartMonitor(monitor).Wait();                        
                     else
                     {
                         //If the account is inactive