public MucService() { this.ServiceType = ServiceType.GroupChat; this.roomList = new Dictionary<string, ChatRoom>(); ChatRoom chatroom = new ChatRoom(); chatroom.Name = "Conference"; chatroom.Subject = "Site View Logistics Chat Room"; chatroom.Category = ServiceType.GroupChat.ToString(); chatroom.Type = "text"; chatroom.JID = new agsXMPP.Jid("*****@*****.**"); User owner = new User(); owner.Nick = "Administrator"; owner.Role = agsXMPP.protocol.x.muc.Role.none; owner.Affiliation = agsXMPP.protocol.x.muc.Affiliation.owner; owner.JID = new agsXMPP.Jid("admin@" + ConfigManager.Server); chatroom.Owner = owner; //<feature var='http://jabber.org/protocol/muc'/> //<feature var='muc_passwordprotected'/> //<feature var='muc_hidden'/> //<feature var='muc_temporary'/> //<feature var='muc_open'/> //<feature var='muc_unmoderated'/> //<feature var='muc_nonanonymous'/> chatroom.AddFeature(agsXMPP.Uri.MUC); this.roomList.Add(chatroom.Name, chatroom); }