コード例 #1
0
        private void FacebookAccountDialogHandler(IUICommand command)
        {
            var template = new AccountTemplate();

            template.Jid    = "@chat.facebook.com";
            template.Host   = "chat.facebook.com";
            template.Port   = 5222;
            template.SSL    = true;
            template.OldSSL = false;
            template.Plain  = true;
            template.MD5    = true;
            template.SCRAM  = true;
            new Flyout(FlyoutType.AccountEdit, template, flyoutSelf);
        }
コード例 #2
0
 private void OnAddGTalk(object sender, RoutedEventArgs e)
 {
     if (!Frontend.Accounts.IsFull)
     {
         var template = new AccountTemplate();
         template.Jid    = "@gmail.com";
         template.Host   = "talk.google.com";
         template.Port   = 5223;
         template.SSL    = true;
         template.OldSSL = true;
         template.Plain  = true;
         template.MD5    = true;
         template.SCRAM  = true;
         new Flyout(FlyoutType.AccountEdit, template, flyoutSelf);
     }
 }
コード例 #3
0
 private void FacebookAccountDialogHandler(IUICommand command)
 {
     var template = new AccountTemplate();
     template.Jid = "@chat.facebook.com";
     template.Host = "chat.facebook.com";
     template.Port = 5222;
     template.SSL = true;
     template.OldSSL = false;
     template.Plain = true;
     template.MD5 = true;
     template.SCRAM = true;
     new Flyout(FlyoutType.AccountEdit, template, flyoutSelf);
 }
コード例 #4
0
 private void OnAddGTalk(object sender, RoutedEventArgs e)
 {
     if (!Frontend.Accounts.IsFull)
     {
         var template = new AccountTemplate();
         template.Jid = "@gmail.com";
         template.Host = "talk.google.com";
         template.Port = 5223;
         template.SSL = true;
         template.OldSSL = true;
         template.Plain = true;
         template.MD5 = true;
         template.SCRAM = true;
         new Flyout(FlyoutType.AccountEdit, template, flyoutSelf);
     }
 }