[controller] fix invitation check
This commit is contained in:
parent
4bb48a2e51
commit
442e7cd83a
|
@ -116,7 +116,7 @@ namespace SparkleShare {
|
||||||
|
|
||||||
// Handle invitations when the user saves an
|
// Handle invitations when the user saves an
|
||||||
// invitation into the SparkleShare folder
|
// invitation into the SparkleShare folder
|
||||||
if (args.FullPath.StartsWith (".sparkle")) {
|
if (args.FullPath.EndsWith (".sparkle")) {
|
||||||
|
|
||||||
XmlDocument xml_doc = new XmlDocument ();
|
XmlDocument xml_doc = new XmlDocument ();
|
||||||
xml_doc.Load (args.Name);
|
xml_doc.Load (args.Name);
|
||||||
|
|
Loading…
Reference in a new issue