• JC Brand's avatar
    Fix erroneous "is no longer an admin/owner" messages in MUCs · bea073a5
    JC Brand authored
    Don't remove affiliation for occupants if we weren't allowed to
    fetch that particular affiliation list.
    
    Previously, if fetching the list failed, we would return an empty array,
    which would imply that the affiliation list is empty and that all
    users with the given affiliation should have their affiliations removed.
    
    Instead we now return `null` and properly account for that when setting
    affiliations on existing contacts based on the returned member lists.
    bea073a5
core.js 17.8 KB