示例#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 ();
     }
 }
示例#2
0
 internal XmppSession(XmppProfile profile)
 {
     this.profile = profile;
 }