src/lib/Repositories/SolidLoaderRepository.js
/**
     * Finds all messages contained within chat URL and loads them into the SemanticChat/Group.
     * @param {string} chatUrl: chat URL.
     * @param {string} chat: instance of SemanticChat.
     * @returns {SemanticChat}: an instance of SemanticChat with messages loaded.
     */
Finds all messages contained within chat URL and loads them into the SemanticChat/Group.
@param {string} chatUrl: chat URL.
@param {string} chat: instance of SemanticChat.
@returns {SemanticChat}: an instance of SemanticChat with messages loaded.
Finds all messages contained within chat URL and loads them into the SemanticChat / Group . @param { string } chatUrl : chat URL . @param { string } chat : instance of SemanticChat . @returns { SemanticChat } : an instance of SemanticChat with messages loaded .
async loadFromUrl(chat, chatUrl) {
        const messages = await this._findMessage(chatUrl);
        for (var i = 0, len = messages.length; i < len; i++) {
            chat.loadMessage(messages[i]);
        }
        return chat;
    }
async loadFromUrl ( chat , chatUrl ) { const messages = await this . _findMessage ( chatUrl ) ; for ( var i = 0 , len = messages . length ; i < len ; i ++ ) { chat . loadMessage ( messages [ i ] ) ; } return chat ; }
Finds all messages contained within chat URL and loads them into the SemanticChat/Group.
Finds all messages contained within chat URL and loads them into the SemanticChat / Group .
//console.log("Loading from url");