public static void conversationthread() throws Exception {
		while (worker1) {
			java.sql.Connection conn = DbController.dbconnect();
			conv = DbController.getconversation(conn, m_loggedas);
			try {
				conn.close();
			} catch (SQLException e) {
				// TODO Auto-generated catch block
				e.printStackTrace();
			}
			int length = conv.size();
			for (int i = 0; i < length; i++) {
				if ((conv.get(i) != null))
				{

					try {
						Thread.sleep(5000);
					} catch (InterruptedException e) {
						// TODO Auto-generated catch block
						e.printStackTrace();
					}
					if (convstarted == 0) {
						startconversation();
						
					}
				}
			}

			try {
				Thread.sleep(5000);
			} catch (InterruptedException e) {
				// TODO Auto-generated catch block
				e.printStackTrace();
			}
		}
	}