• JC Brand's avatar
    Refactor so that message attributes are parsed early · b5eea12d
    JC Brand authored
    It's better to parse an incoming message stanza early, than to have
    all kinds of methods throughout the codebase that does querySelector
    etc.
    
    Firstly, it allows us to catch and report errors and malicious stanzas early on.
    It also simplifies programming because you don't need to try and
    remember how to properly parse a stanza, all the work is done upfront
    for you.
    b5eea12d
muc.js 275 KB