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