internal MucRoomStanzaHandler(MucRoom room) { Room = room; }
/// <summary> /// </summary> /// <param name="name"> /// </param> /// <param name="description"> /// </param> /// <returns> /// </returns> internal MucRoom CreateRoom(Jid roomJid, string description) { MucRoom room = new MucRoom(roomJid, roomJid.User, this, context); room.ParentService = this; ServiceManager.RegisterService(room); return room; }
public void RemoveRoom(MucRoom room) { ServiceManager.UnregisterService(room.Jid); MucStorage.RemoveMuc(room.Jid); }