[controller] fix invitation check

This commit is contained in:
Hylke Bons 2010-11-21 19:25:17 +00:00
parent 93cc71e900
commit 891bbc5d9b

View file

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