public String getChatText() {
		String chatText = "";
		String latestMessage;
		IMessage msg;
		for(int k=0; k<history.size(); ++k) {
			msg = history.get(k);
			latestMessage = msg.getMessageTextAsHTML();
			chatText += latestMessage + "<br><br>";
		}
		return chatText;
	}