 		}
 
 		/**
-		 * Gets the user's affiliation for this room.
-		 * Possible affiliations are "owner", "admin", "member", and "outcast".
-		 * It is also possible to have no defined affiliation.
-		 */
-		public function get affiliation():String
-		{
-			return _affiliation;
-		}
-
-		/**
 		 * Gets the user's role in the conference room.
 		 * Possible roles are "visitor", "participant", "moderator" or no defined role.
 		 */

			}
			return null;
		}

		/**
		 * The conference server to use for this room. Usually, this is a subdomain of
		 * the primary XMPP server, like conference.myserver.com.
		 */
		public function get conferenceServer():String
		{
			return _roomJID.domain;
		}
		public function set conferenceServer( value:String ):void
		{
			roomJID = new UnescapedJID( roomName + "@" + value );
		}

		/**
		 * Determines whether the connection to the room is active - that is, the user
		 * is connected and has joined the room.
		 */
		public function get isActive():Boolean
		{
			return _active;
		}

		/**
		 * A reference to the XMPPConnection being used for incoming/outgoing XMPP data.
		 *
		 * @see	org.igniterealtime.xiff.core.XMPPConnection
		 */
		public function get connection():XMPPConnection
		{
			return _connection;
		}
		public function set connection( value:XMPPConnection ):void
		{
			if ( _connection != null )
			{
				_connection.removeEventListener( MessageEvent.MESSAGE, handleEvent );
				_connection.removeEventListener( PresenceEvent.PRESENCE, handleEvent );
				_connection.removeEventListener( DisconnectionEvent.DISCONNECT,
												  handleEvent );
			}

			_connection = value;

			_connection.addEventListener( MessageEvent.MESSAGE, handleEvent, false,
										   0, true );
			_connection.addEventListener( PresenceEvent.PRESENCE, handleEvent, false,
										   0, true );
			_connection.addEventListener( DisconnectionEvent.DISCONNECT, handleEvent,
										   false, 0, true );

			//			String baserepo = "http://"+_connection.server+":9090/webdav/rooms/"+conferenceServer.replace("."+_connection.server,"")+"/"+roomName+"/";
			//			_fileRepo = new RoomFileRepository(baserepo);
		}
	}
}

			var message:Message = new Message( roomJID.escaped, null, body, htmlBody,
												   Message.TYPE_GROUPCHAT );
			return message;
		}

		/**
		 * Gets the <code>RoomOccupant</code> whose displayName matches the name passed in.
		 *
		 * @param	name
		 * @return
		 */
		public function getOccupantNamed( name:String ):RoomOccupant
		{
			for each ( var occ:RoomOccupant in this )
			{
				if ( occ.displayName == name )
				{
					return occ;
				}
			}
			return null;
		}

		/**
