Closed
Description
Currently, when a non-member leaves a MUC, we destroy the Occupant model for that user.
This will however mean that XEP-0317 Hats information (and any other presence-based metadata) will be lost.
We should instead implement support for XEP-421 and then keep Occupant instances for as long as we have corresponding messages for that user.