src/main/ChatController.js
/**
 * Loads selected chat's messages to main chat panel.
 */
Loads selected chat's messages to main chat panel.
Loads selected chat ' s messages to main chat panel .
async function loadMessagesToWindow() {
    $(".information >").remove();
    $(".information").hide();
    var id = this.getAttribute("id").replace("chatwindow", "");
    await loadMessages(Number(id));
    await showAndStoreMessages();
}
async function loadMessagesToWindow ( ) { $ ( ".information >" ) . remove ( ) ; $ ( ".information" ) . hide ( ) ; var id = this . getAttribute ( "id" ) . replace ( "chatwindow" , "" ) ; await loadMessages ( Number ( id ) ) ; await showAndStoreMessages ( ) ; }
Loads selected chat's messages to main chat panel.
Loads selected chat ' s messages to main chat panel .