function showMessageFormIfLoggedIn() {
    fetch('/login-status')
        .then((response) => {
        return response.json();
})
.then((loginStatus) => {
        if (loginStatus.isLoggedIn &&
    loginStatus.username == parameterUsername) {
        fetchImageUploadUrlAndShowForm();
    }
});
    document.getElementById('about-me-form').classList.remove('hidden');
}
/**
 * Shows the message form if the user is logged in.
 */
Shows the message form if the user is logged in.
Shows the message form if the user is logged in .
function showMessageFormIfLoggedIn() {
    fetch('/login-status')
        .then((response) => {
        return response.json();
})
.then((loginStatus) => {
        if (loginStatus.isLoggedIn &&
    loginStatus.username == parameterUsername) {
        fetchImageUploadUrlAndShowForm();
    }
});
    document.getElementById('about-me-form').classList.remove('hidden');
}
function showMessageFormIfLoggedIn ( ) { fetch ( '/login-status' ) . then ( ( response ) => { return response . json ( ) ; } ) . then ( ( loginStatus ) => { if ( loginStatus . isLoggedIn && loginStatus . username == parameterUsername ) { fetchImageUploadUrlAndShowForm ( ) ; } } ) ; document . getElementById ( 'about-me-form' ) . classList . remove ( 'hidden' ) ; }
Shows the message form if the user is logged in.
Shows the message form if the user is logged in .