src/libs/state.js
/**
     * batch up floods of new messages for a huge performance gain
     */
batch up floods of new messages for a huge performance gain
batch up floods of new messages for a huge performance gain
function addSingleMessage(newMessage) {
        messageObj.messages.push(newMessage);
        trimMessages();
        buffer.message_count++;
    }
function addSingleMessage ( newMessage ) { messageObj . messages . push ( newMessage ) ; trimMessages ( ) ; buffer . message_count ++ ; }
batch up floods of new messages for a huge performance gain
batch up floods of new messages for a huge performance gain