• JC Brand's avatar
    Bugfix. Room features weren't being refreshed properly · d426d797
    JC Brand authored
    We were removing the disco entity, but it's associated collections
    (`features`, `fields`, `identities` etc) were still stored in
    localStorage and not cleared.
    
    So when the entity gets recreated, the stale localStorage cached items
    repopulate the collections.
    
    Added `refreshFeatures` API method for refetching disco features and use
    that instead.
    d426d797
converse-disco.js 33 KB