[controller] don't show invitations when not configured
This commit is contained in:
parent
ff11a81856
commit
ab3cdb7dca
|
@ -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.Name.EndsWith (".sparkle")) {
|
if (args.Name.EndsWith (".sparkle") && !FirstRun) {
|
||||||
|
|
||||||
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