[invitation] Change invitation extension to .sparkle
This commit is contained in:
parent
903fc285a4
commit
ccc3818f84
|
@ -20,8 +20,10 @@ using System;
|
|||
using System.Collections.Generic;
|
||||
using System.Diagnostics;
|
||||
using System.IO;
|
||||
using System.Net;
|
||||
using System.Threading;
|
||||
using System.Text.RegularExpressions;
|
||||
using System.Xml;
|
||||
|
||||
namespace SparkleShare {
|
||||
|
||||
|
@ -97,7 +99,9 @@ namespace SparkleShare {
|
|||
|
||||
// Handle invitations when the user saves an
|
||||
// invitation into the SparkleShare folder
|
||||
if (args.Name.EndsWith (".invitation")) {
|
||||
if (args.Name.EndsWith (".sparkle")) {
|
||||
|
||||
Console.WriteLine ("YYYYYYYYYYYQQ!!!!!!!");
|
||||
|
||||
if (OnInvitation != null)
|
||||
OnInvitation (args.FullPath);
|
||||
|
|
|
@ -68,6 +68,7 @@ namespace SparkleShare {
|
|||
SparkleShare.Controller.OnInvitation += delegate (string invitation_file_path) {
|
||||
Application.Invoke (delegate {
|
||||
|
||||
Console.WriteLine ("INVITATION RECEIVED!!!!1");
|
||||
SparkleInvitation invitation = new SparkleInvitation (invitation_file_path);
|
||||
invitation.Present ();
|
||||
|
||||
|
|
Loading…
Reference in a new issue