[controller] don't show invitations when not configured

This commit is contained in:
Hylke Bons 2010-11-21 19:49:37 +00:00
parent ff11a81856
commit ab3cdb7dca

View file

@ -116,7 +116,7 @@ namespace SparkleShare {
// Handle invitations when the user saves an
// invitation into the SparkleShare folder
if (args.Name.EndsWith (".sparkle")) {
if (args.Name.EndsWith (".sparkle") && !FirstRun) {
XmlDocument xml_doc = new XmlDocument ();
xml_doc.Load (args.Name);