Esempio n. 1
0
 static XmppProfile()
 {
     var profile = DBProfile.ReadFirst ("Active=@active", "@active", true);
     Current = new XmppProfile (profile);
     if (profile == null) {
         Current.db.Active = true;
         Current.Name = "new user";
         Current.Save ();
     }
 }
Esempio n. 2
0
 internal XmppSession(XmppProfile profile)
 {
     this.profile = profile;
 }