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);