From 1d3bf639ea22840a15c74bea9ddf29bffa8abed2 Mon Sep 17 00:00:00 2001 From: Hylke Bons Date: Sun, 21 Nov 2010 19:25:17 +0000 Subject: [PATCH] [controller] fix invitation check --- SparkleShare/SparkleController.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SparkleShare/SparkleController.cs b/SparkleShare/SparkleController.cs index 46d333b7..cc69998a 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.FullPath.StartsWith (".sparkle")) { + if (args.FullPath.EndsWith (".sparkle")) { XmlDocument xml_doc = new XmlDocument (); xml_doc.Load (args.Name);