From ab3cdb7dcae0073a9c4d8cd9165bc218d73ad960 Mon Sep 17 00:00:00 2001 From: Hylke Bons Date: Sun, 21 Nov 2010 19:49:37 +0000 Subject: [PATCH] [controller] don't show invitations when not configured --- SparkleShare/SparkleController.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SparkleShare/SparkleController.cs b/SparkleShare/SparkleController.cs index 3c1e28f4..a90fdb69 100644 --- a/SparkleShare/SparkleController.cs +++ b/SparkleShare/SparkleController.cs @@ -116,7 +116,7 @@ namespace SparkleShare { // Handle invitations when the user saves an // invitation into the SparkleShare folder - if (args.Name.EndsWith (".sparkle")) { + if (args.Name.EndsWith (".sparkle") && !FirstRun) { XmlDocument xml_doc = new XmlDocument (); xml_doc.Load (args.Name);