@Override
public void execute(DBTransaction transaction) throws SQLException {
PostmanDAO dao = DAORegister.get().get(PostmanDAO.class);
messages = dao.getChatMessages(transaction, player.getName());
// mark the messages delivered in the same transaction that we got them in
dao.markMessagesDelivered(transaction, player.getName());
}
/**
* gets the list of messages
*