[controller] fix invitation check
This commit is contained in:
parent
4ce25e7776
commit
06c7e043d4
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue